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

fix: safari copy item issue #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

getanwar
Copy link

@getanwar getanwar commented Feb 3, 2018

For effectAllowed we can not rely on drag event properties since different browsers give different results. In Safari (MacOS) I always received effectAllowed = 'all', does not matter I assign the property (effect-allowed) to vddl-draggable or not. It always triggers move effect. So what I did here is except relying on browser's event, I made the tweak on existing prototype object (vddlDropEffectWorkaround.dropEffect) that you created for wired browser behavior. It solves my issue.

Please accept my pull request, if you don't, tell me what else we can do to solve this quirk.

@hejianxian
Copy link
Owner

@getanwar

Sorry, I am very busy recently. Thank you for your PR, I will check it as soon as possible.

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

Successfully merging this pull request may close these issues.

3 participants