-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
template: bugThis issue might be a bugThis issue might be a bug
Description
Which react-spring target are you using?
-
@react-spring/web -
@react-spring/three -
@react-spring/native -
@react-spring/konva -
@react-spring/zdog
What version of react-spring are you using?
Trying to use: 10.0.3
What's Wrong?
I upgraded from 10.0.0 to 10.0.1 and it messed up a mobile navigation drag animation.
Previously it was working smothly, but now, it only works every second time I drag it.
I believe the breaking change came in with: #2372
To Reproduce
Here's the reproduction code:
https://codesandbox.io/p/sandbox/wfqjr3
And a demo:
Screencast.from.08-10-25.23.07.30.webm
- Go to the codesandbox demo
- Use your mouse to drag up the horrible red menu I've made, but don't relesae your click
- Notice that the first time you drag it up (without releasing the click) it resets itself
To see it working properly, downgrade to version 10.0.0.
Expected Behaviour
As you can see in the demo, if you go back to version 10.0.0, it behaves consistently rather than failing every second time.
Link to repo
MatissJanis and The-End-Hero
Metadata
Metadata
Assignees
Labels
template: bugThis issue might be a bugThis issue might be a bug