-
When draggable is dropped above an input field, the draggable's html content will autofill the input text from the draggable's dom (like image url): I tested for the same behavior on Chrome & Edge and it does not occur. This seems to only affect non-webkits like Firefox. Some old StackExchange threads suggest playing wiht preventDefault(), but I'm not sure where's the best place to start with @dnd-kit to handle this strange behavior. Any suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Adding |
Beta Was this translation helpful? Give feedback.
Adding
onDrop={(e) => {e.preventDefault()}}
on the<input type="text">
fields seem to have alleviated some of the Firefox weirdness, although I'm still investigating the issue.