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
[animation]: RC2 Animation does not support transitions with boolean states #9396
Comments
Maybe we should |
@matsko - perhaps any |
I think I like what @matsko suggested - convert to string and treat boolean values as |
… changes Closes angular#9396 Closes angular#12337
… changes Closes angular#9396 Closes angular#12337
… changes Closes angular#9396 Closes angular#12337
… changes Closes angular#9396 Closes angular#12337
… changes Closes angular#9396 Closes angular#12337
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Currently for any animations to work with booleans passed in as the state, you need to pass through the boolean's string form like so:
@yourAnimation="yourBoolean ? 'true' : 'false'"
I feel that boolean states should be supported with simply passing in the boolean itself:
@yourAnimation="yourBoolean"
Here's a working plunker of the bug: http://plnkr.co/edit/ajeC3SJ6LvKUivzQ8kW0
Edit: Upon further investigation, I should be saying boolean transitions, not states. Booleans don't match with any transitions that have 'true' or 'false' in it (Ex: 'true <=> false', 'true => *', 'void => true', etc.)
The text was updated successfully, but these errors were encountered: