Skip to content

Not able to receive currentBreakpoint or currentBreak() with events #250

@roman-rr

Description

@roman-rr

Hi @pinguluk You not able to receive currentBreakpoint or currentBreak() with your events?

I do receive the state from currentBreak(), but it's the state before the transition.
I have 3 breakpoints (bottom, middle, top) and If, for example, I change from middle to top and put a console.log on onTransitionEnd, it will log "middle" instead of "top".
But if I set a timeout (eg 500ms), it will log "top", which is the correct state.

Originally posted by @pinguluk in #248 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions