Skip to content

Commit a5c262b

Browse files
committed
I think it's ok to always install emulated dropzone
1 parent d646edf commit a5c262b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/src/dnd/dropzone.dart

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,12 @@ class DropzoneGroup extends Group {
7676

7777
List<StreamSubscription> subs = new List<StreamSubscription>();
7878

79-
// Install both native and emulated dropzones. This is to support
80-
// dropping of SVG elements.
79+
// Install both native and emulated dropzones in all browsers. Emulated
80+
// dropzone is used to support dropping of SVG elements, touch events,
81+
// general drag and drop support in IE9 and for custom drag images in IE10.
8182
_logger.finest('installing as dropzone');
82-
_logger.finest('installing as emulated dropzone');
8383
subs.addAll(_installDropzone(element, this));
84+
_logger.finest('installing as emulated dropzone');
8485
subs.addAll(_installEmulatedDropzone(element, this));
8586

8687
installedElements[element].addAll(subs);

0 commit comments

Comments
 (0)