summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@gmail.com>2017-08-29 15:02:11 +0300
committerHenri Sara <henri.sara@gmail.com>2017-08-29 17:36:54 +0300
commitbd575426eed3aa59a9567f5ebb9ec34bfadc3a4b (patch)
tree8f51718568d0f053d1d6005a3cc28233fe0e58e6
parent64c1a2371c23cd038e604da72387c1b6cc538b4a (diff)
downloadvaadin-framework-bd575426eed3aa59a9567f5ebb9ec34bfadc3a4b.tar.gz
vaadin-framework-bd575426eed3aa59a9567f5ebb9ec34bfadc3a4b.zip
Remove drag over style on file drop (#9888)
Fixes #9870
-rw-r--r--client/src/main/java/com/vaadin/client/extensions/FileDropTargetConnector.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/main/java/com/vaadin/client/extensions/FileDropTargetConnector.java b/client/src/main/java/com/vaadin/client/extensions/FileDropTargetConnector.java
index 142b7b2ff8..2d4048bc78 100644
--- a/client/src/main/java/com/vaadin/client/extensions/FileDropTargetConnector.java
+++ b/client/src/main/java/com/vaadin/client/extensions/FileDropTargetConnector.java
@@ -131,6 +131,8 @@ public class FileDropTargetConnector extends DropTargetExtensionConnector {
event.preventDefault();
event.stopPropagation();
}
+
+ removeDragOverStyle((NativeEvent) event);
}
@Override