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

Support Firefox #17

Open
tomatoaiu opened this issue Jun 25, 2018 · 2 comments
Open

Support Firefox #17

tomatoaiu opened this issue Jun 25, 2018 · 2 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@tomatoaiu
Copy link
Owner

tomatoaiu commented Jun 25, 2018

firefox drag event has not clientX and clientY

Now

I use drag event

Proposal

  • Use mousedown
  • Use jQuery draggable
  • Use dragover
@tomatoaiu tomatoaiu added the bug Something isn't working label Jun 25, 2018
@tomatoaiu tomatoaiu self-assigned this Jun 25, 2018
@tomatoaiu tomatoaiu changed the title Dragevent did not occur in firefox Support Firefox Jul 14, 2018
@tomatoaiu tomatoaiu added the enhancement New feature or request label Jul 14, 2018
@tomatoaiu
Copy link
Owner Author

New Propsal

  • drag event has offsetX and offsetY.

@tomatoaiu
Copy link
Owner Author

tomatoaiu commented Jun 15, 2019

note

solution

use drag over event

dragstart(event) {
      event.dataTransfer.setData('application/node type', event.target);
dragover(event) {
      console.log('dragover', event)

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

No branches or pull requests

1 participant