Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Fixes issue with drag and drop when mobile shim is used #380

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nathanbedford
Copy link

It seems the recommended shim for mobile (https://github.com/timruffles/ios-html5-drag-drop-shim) doesn't set effectAllowed (event.dataTransfer.effectAllowed) on dragover. It may be worth making an adjustment to that library, but since we already have a 'backup' way to deal with this in 'angular drag and drop list', I figured we may as well use it.

@nika1001
Copy link

I came across this issue today, would be nice to merge the proposed fix.

@OxLeon
Copy link

OxLeon commented Apr 21, 2017

The same problem hear!
I saw that shim event to drop doesn't have some properties like Event.dataTransfer.dropEffect and Event.dataTransfer.effectAllowed.

@tobasschu
Copy link

I would also appreciate it if this is being merged.
@nathanbedford What is your 'backup' way to deal with this?

@reppners
Copy link
Contributor

AFAIK the shim rewrite does not suffer from this problem. https://github.com/timruffles/ios-html5-drag-drop-shim/tree/rewrite

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

Successfully merging this pull request may close these issues.

None yet

5 participants