Open
Description
Provide a general summary of the issue here
Hi!
In the following script, onDragMove
is called correctly with the latest version of Chrome, but not with Firefox :
const {dragProps} = useDrag({
getItems: () => [{'my-item': "My Custom Item"}],
getAllowedDropOperations: () => ['link'],
onDragMove: console.log,
})
π€ Expected Behavior?
onDragMove
shoud be called in Firefox.
π― Current Behavior
onDragMove
is not called in Firefox.
π¦ Context
I'm trying to display a line starting from the element being dragged to the drag button using SVG. I need the onDragMove function to update the SVG position so that the end of the line follows the drag.
π₯οΈ Steps to Reproduce
See this Candesandbox with Firefox.
Version
react-aria: 3.32.1
What browsers are you seeing the problem on?
Firefox 123.0