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

drawerPositionDidChange called too many times. #377

Open
dcristolovean opened this issue Mar 19, 2020 · 0 comments
Open

drawerPositionDidChange called too many times. #377

dcristolovean opened this issue Mar 19, 2020 · 0 comments

Comments

@dcristolovean
Copy link

I'm trying to determine when the drawer reaches a certain position and do some visual updates in my app.
The only way I see for that is the drawerPositionDidChange delegate. The only problem with this is that the delegate is called at least 5 (five !) time during a transition, so it can't be used reliably.

Any way to determine if the drawer changed from .closed to .open just once, not five times ?

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