Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox only: useDragAndDrop breaks input selection #110

Open
vmihailenco opened this issue Oct 18, 2024 · 8 comments
Open

Firefox only: useDragAndDrop breaks input selection #110

vmihailenco opened this issue Oct 18, 2024 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@vmihailenco
Copy link

vmihailenco commented Oct 18, 2024

Reproduction (requires Firefox): https://codesandbox.io/p/sandbox/drag-ndrop-kit-forked-83wtw7?file=%2Fsrc%2FApp.tsx%3A1%2C10-1%2C24

  1. Open the example in Firefox
  2. Try to select the text in the input
  3. Observe that the text can't be selected

Here is how it works in Chrome

drag-ndrop-kit.forked.-.CodeSandbox.webm

The same does not work in Firefox, i.e. text can't be selected

@sashamilenkovic sashamilenkovic self-assigned this Oct 18, 2024
@sashamilenkovic sashamilenkovic added the bug Something isn't working label Oct 18, 2024
@sashamilenkovic
Copy link
Contributor

@vmihailenco Appreciate the reproduction. Will take a look.

@Min-lg
Copy link

Min-lg commented Oct 21, 2024

i want to fix it

@vmihailenco
Copy link
Author

@sashamilenkovic sorry to bother you, but were you able to check this out? We're shuffling inputs so this bug kinda breaks everything for us in Firefox...

@sashamilenkovic
Copy link
Contributor

@vmihailenco Haven't had the chance yet. I believe the issue involves how Firefox handles the draggable attribute. This is top priority but no update yet.

@EdeMeijer
Copy link

Hey I ran into the same issue, hope you can find out what's causing it

@sashamilenkovic
Copy link
Contributor

Fix for this is implemented, will be released in the next few days

@EdeMeijer
Copy link

Hi, any updates on this? Seems like it still broken in the latest version.

@sashamilenkovic
Copy link
Contributor

@EdeMeijer fix will be included in the next minor release. Hoping to have that published soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants