Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
roman-rr opened this issue Nov 15, 2024 · 1 comment
Open

Comments

@roman-rr
Copy link
Collaborator

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)

@roman-rr
Copy link
Collaborator Author

@pinguluk Let's try to investigate here.
Are you able to send some sample?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant