flutter_dropzone icon indicating copy to clipboard operation
flutter_dropzone copied to clipboard

Suggestion: Add a dispose function to the widget

Open filipesantos18 opened this issue 3 years ago • 1 comments

I have a chat app. Every chat builds its own dropzone widget, when I open a chat and send some files to the conversation everything works fine. However, when I open a second chat after that and I try to send another file in this new chat, it sends the file to the first chat. Maybe it's because the widget that comes with the packages does not have a dispose function, then it causes this bug. If you could just add a dispose to the widget, I would appreciate it. Thanks and best regards!

filipesantos18 avatar Nov 25 '21 16:11 filipesantos18

I'm not sure it's a question of disposal as every zone should have its link to the handler by a unique id. Could you possible create a minimal sample that reproduces the problem and helps us test?

deakjahn avatar Nov 25 '21 18:11 deakjahn