You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to change spring config depending on the state, but there is some strange behavior.
Example 1. Expected behavior: on mount animation plays once and stops. Press "Start looping an animation" — animation begins its infinite loop. Then press "Stop looping an animation" — animation stops. Current behavior: on mount animation plays once and stops. Press "Start looping an animation" — animation begins its infinite loop. Then press "Stop looping an animation" — animation continue looping.
Example 2. Expected behavior: on mount animation plays infinite loop using "DEFAULT_ANIMATION_CONFIG". Press "Start playing" — animation plays infinite loop using PLAYING_ANIMATION_CONFIG. Then press "Stop playing" — animation plays infinite loop using "DEFAULT_ANIMATION_CONFIG". Current behavior: on mount animation plays infinite loop using "DEFAULT_ANIMATION_CONFIG". Press "Start playing" — animation plays infinite loop using PLAYING_ANIMATION_CONFIG. Then press "Stop playing" — animation is broken.
Trying to change spring config depending on the state, but there is some strange behavior.
Example 1.
Expected behavior: on mount animation plays once and stops. Press "Start looping an animation" — animation begins its infinite loop. Then press "Stop looping an animation" — animation stops.
Current behavior: on mount animation plays once and stops. Press "Start looping an animation" — animation begins its infinite loop. Then press "Stop looping an animation" — animation continue looping.
Example 2.
Expected behavior: on mount animation plays infinite loop using "DEFAULT_ANIMATION_CONFIG". Press "Start playing" — animation plays infinite loop using PLAYING_ANIMATION_CONFIG. Then press "Stop playing" — animation plays infinite loop using "DEFAULT_ANIMATION_CONFIG".
Current behavior: on mount animation plays infinite loop using "DEFAULT_ANIMATION_CONFIG". Press "Start playing" — animation plays infinite loop using PLAYING_ANIMATION_CONFIG. Then press "Stop playing" — animation is broken.
Originally posted by @bolotin-taptima in #985 (comment)
The text was updated successfully, but these errors were encountered: