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

Switch should animate even when disabled #94

Open
sbefort opened this issue May 14, 2021 · 2 comments
Open

Switch should animate even when disabled #94

sbefort opened this issue May 14, 2021 · 2 comments

Comments

@sbefort
Copy link

sbefort commented May 14, 2021

If you click on the switch and disable it immediately through a state update, it should still animate to the on/off positions while disabled. Instead, there is a white flash until the phantom animation completes, then it's put in a disabled status and appears again.

@djD-REK
Copy link

djD-REK commented May 14, 2021 via email

@markusenglund
Copy link
Owner

Sandbox: https://codesandbox.io/s/friendly-goldstine-v5x43?file=/src/index.js
For me it works just as expected - when clicked the switch changes position and turns grey, all smoothly animated. Could someone fork the sandbox/describe how to see the issue?

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

3 participants