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

Strange text selection on IE 11 #18

Closed
sikorskl opened this issue Jul 29, 2016 · 2 comments
Closed

Strange text selection on IE 11 #18

sikorskl opened this issue Jul 29, 2016 · 2 comments

Comments

@sikorskl
Copy link

Issue can be reproduced on code from https://github.com/michaelmalonenz/aurelia-dragula-example.

Steps to reproduce:

  1. Open http://localhost:9000/#/multiarray on IE 11
  2. Drag element (e.g 1 from array A)
  3. Start dragging
  4. Text is selected all over the page.
  5. Even when you drop item cursor is still active and select text. You have to click again to disable that.

On chrome it works fine.

Thanks for solving that

@doeck
Copy link

doeck commented Aug 8, 2016

I'm running into the same issue in my project where I'm using dragula in an aurelia-dialog modal.
While dragging, text is highlighted in the background.

@doeck
Copy link

doeck commented Aug 8, 2016

Found a solution that works for me: I'm adding -ms-user-select: none to the handle (the one I use to move around my row) and nothing gets selected anymore.
I also noticed that the selected issue only happens when I clicked on text. I'm dragging table rows with input elements. Clicking on inputs or spaces in between the inputs or the text did not select anything while dragging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants