Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Conversation

@as-cii
Copy link
Contributor

@as-cii as-cii commented May 5, 2017

This pull request fixes a regression that we were observing on newer Electron versions due to reasons similar to the ones described in #426. In particular, on Electron >= 1.4 we were showing a drop indicator even for dock locations that were unsupported by the dragged item.

Analogously to the aforementioned pull request, in this one we are replacing usages of dataTransfer.getData in the dragover handler with a scan of the keys present inside the dataTransfer object.

/cc: @nathansobo @maxbrunsfeld

@thomasjo thomasjo mentioned this pull request May 5, 2017
17 tasks
@as-cii as-cii merged commit f5833fa into master May 5, 2017
@as-cii as-cii deleted the as-fix-drop-indicators-on-new-electron branch May 5, 2017 12:04
@nathansobo
Copy link
Contributor

Thanks!

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.

3 participants