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

On touch, event.elem_target always = event.orig_target #7

Open
noelhunter opened this issue Mar 30, 2015 · 2 comments
Open

On touch, event.elem_target always = event.orig_target #7

noelhunter opened this issue Mar 30, 2015 · 2 comments

Comments

@noelhunter
Copy link

For mouse events, the elem_target set, when dragging over another element, seems to be the element over which you have dragged.

On touch events, the elem_target seems to always be set as the element being dragged.

This makes it difficult to implement a drop. On mouse, when dragging and dropping, the elm_target is set the element onto which the item was dropped. But for touch, it always remains the original item.

@mmikowski
Copy link
Owner

Thanks Noel. Checking now ...

@noelhunter
Copy link
Author

I had to add code to check all divs beneath the drop point, which lets me process the drop for now, but it does prevent hover effects, not being able to retrieve the element.

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