vddl icon indicating copy to clipboard operation
vddl copied to clipboard

fix: safari copy item issue

Open getanwar opened this issue 7 years ago • 1 comments

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.

getanwar avatar Feb 03 '18 13:02 getanwar

@getanwar

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

hejianxian avatar Feb 08 '18 05:02 hejianxian