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
drag handlers e.g. onDragStart/onDragEnd are being overridden on a motion component, even when the drag prop is false or undefined.
This is an issue as I'd like to add motion animation e.g. for layout on a component, but I have my own drag functionality which uses these callbacks and do not wish to use motion's drag behaviour
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
In the sandbox example there are two elements where I've set drag behaviour. The first is a motion component and this drag behaviour is being overridden even though I don't set the drag prop.
The second example is the expected behaviour where it is not a motion component.
5. Expected behavior
I would expect my drag callbacks to remain intact on a motion component where I have not set the dragprop to true
6. Video or screenshots
7. Environment details
If applicable, let us know which OS, browser, browser version etc you're using.
Mac, Chrome
The text was updated successfully, but these errors were encountered:
1. Read the FAQs 馃憞
Done
2. Describe the bug
drag handlers e.g. onDragStart/onDragEnd are being overridden on a motion component, even when the
drag
prop isfalse
orundefined
.This is an issue as I'd like to add motion animation e.g. for layout on a component, but I have my own drag functionality which uses these callbacks and do not wish to use motion's drag behaviour
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
https://codesandbox.io/s/nifty-jennings-y20rj?file=/src/App.js
4. Steps to reproduce
Steps to reproduce the behavior:
In the sandbox example there are two elements where I've set drag behaviour. The first is a motion component and this drag behaviour is being overridden even though I don't set the
drag
prop.The second example is the expected behaviour where it is not a motion component.
5. Expected behavior
I would expect my drag callbacks to remain intact on a motion component where I have not set the
drag
prop totrue
6. Video or screenshots
7. Environment details
If applicable, let us know which OS, browser, browser version etc you're using.
Mac, Chrome
The text was updated successfully, but these errors were encountered: