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

fix: stop any running animation, before early exiting due to same position #2006

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ghitier
Copy link

@ghitier ghitier commented Oct 29, 2024

Fixes an edge case of animateToPosition, where it would early exit when position === animatedPosition.value, but wouldn't stop the currently running animation.
Therefore the bottom-sheet would proceed animating to an erroneous position.

Copy link

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@73k05
Copy link

73k05 commented Dec 20, 2024

Up please I also need this fix for my app :-)

Copy link

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@ghitier
Copy link
Author

ghitier commented Jan 28, 2025

This PR still fixes an edge case and shouldn't be marked stale.

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

Successfully merging this pull request may close these issues.

2 participants