Closed titouanmathis closed 3 hours ago
When chaining multiple drag actions on an element using the useDrag service or the withDrag decorator, there might be a jump when starting the second or third drag when using the delta props as it is not correctly computed.
useDrag
withDrag
delta
See this playground for tests.
The fix can be tested on this updated playground.
When chaining multiple drag actions on an element using the
useDrag
service or thewithDrag
decorator, there might be a jump when starting the second or third drag when using thedelta
props as it is not correctly computed.See this playground for tests.