We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using JS.show() with animated transition
@keyframes fade-in-scale { 0% { transform: scale(0.4) translateY(25px); opacity: 0; } 90% { transform: scale(1.05) translateY(-3px); opacity: 0.9; } 100%{ transform: scale(1.0) translateY(0px); opacity: 1; } } .fade-in-scale { animation-direction: normal; animation-duration: .2s; animation-fill-mode: forwards; animation-name: fade-in-scale; }
sometimes the element pops-up BEFORE the transition animation starts, then disappears and only then animates. Video showing the problem:
https://cld.silverdr.com/s/z8KbZkCDGw8Ffyx
The transition flow is undisturbed every time.
The relevant elixirforum thread: https://elixirforum.com/t/liveview-js-show-hide-race-condition/66405/
The Pull Request with a quick fix.
#3455
Please note that I am not familiar with the codebase so can't guarantee that it is the most "correct" way to deal with the problem.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
Actual behavior
When using JS.show() with animated transition
sometimes the element pops-up BEFORE the transition animation starts, then disappears and only then animates. Video showing the problem:
https://cld.silverdr.com/s/z8KbZkCDGw8Ffyx
Expected behavior
The transition flow is undisturbed every time.
The relevant elixirforum thread:
https://elixirforum.com/t/liveview-js-show-hide-race-condition/66405/
The Pull Request with a quick fix.
#3455
Please note that I am not familiar with the codebase so can't guarantee that it is the most "correct" way to deal with the problem.
The text was updated successfully, but these errors were encountered: