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

launchTo value lower than lowerBoundValue causes jump #41

Open
OpticNectar opened this issue Aug 2, 2019 · 0 comments
Open

launchTo value lower than lowerBoundValue causes jump #41

OpticNectar opened this issue Aug 2, 2019 · 0 comments

Comments

@OpticNectar
Copy link

If you use launchTo to go to a value that is lower than the lowerBoundValue it goes to the value, then after a second it jumps back up to the lowerBoundValue on its own. This worked properly (without bouncing back up) in previous versions, but has since been broken.

This is the line that causes the issue (440 & 441 in animation_controller.dart):

if(_value < lowerBound && dismissable) 
        _value = lowerBound;

This should work like it did before, or there should be an option to allow not jump back up.

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

1 participant