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

innerDrawerCallback startup time #57

Open
noobloser opened this issue Dec 5, 2020 · 0 comments
Open

innerDrawerCallback startup time #57

noobloser opened this issue Dec 5, 2020 · 0 comments

Comments

@noobloser
Copy link

If I analyzed that correct, the callback waits for the animation to finish.
Giving the Use Case that a Trigger Button's Color should change onToggle, this creates an ugly visible delay :/
I could imaging 3 ways to fix this issue:

  1. an additional callback, which fires on before the animation finishes
  2. move the innerDrawerCallback before the animation (might create issues for other existing use cases I am not aware of)
  3. open the value of InnerDrawerState, so one can listen to the actual value change and react

(sry, if I am to overreaching)

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

No branches or pull requests

2 participants