deakjahn / flutter_dropzone

A drag-and-drop Flutter plugin (Web). Only web and only from outside into Flutter.
https://pub.dev/packages/flutter_dropzone
85 stars 36 forks source link

Immediately register plugin #89

Closed kirolous-nashaat closed 1 month ago

kirolous-nashaat commented 1 month ago

Potentially fixing #61. registerWith shouldn't have any logic, register the plugin immediately instead.

deakjahn commented 1 month ago

I'm a bit uncertain about whether this achieves anything but sure, it's a simple and straightforward change. I probably used that self for something originally that went away some time in the past. :-)

kirolous-nashaat commented 1 month ago

I figured it may have caused a race condition with callbacks. It was happening randomly before that change, didn't reproduce it after.

Thank you :)

deakjahn commented 1 month ago

Let's see if others with the same issue have the same experience. I could never reproduce it myself, so I couldn't tell. .-)