You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the filepicker widget, I would like to get a response for a callback function even when I select the same same twice or more times. The current behavior just ignores the callback for the same file selection.
This is a minimal working example:
using Blink, Interact
w =Window();
picker =filepicker();
on((n) ->println(picker[]), picker);
body!(w, picker);
, after that, it is necessary to select the same file multiple times and check that the println() function is only called once.
Here is an screeshoot that shows the behavior more clearly:
I'm using the latests versions of Interact and InteractBase, 0.10.5 and 0.10.10 respectively.
Maybe, the filepicker widget was meant to behave like that, however I need to detect selections even though the same file is chosen. Any ideas to overcome this?
The text was updated successfully, but these errors were encountered:
beorostica
changed the title
Filepicker widget doesn't response when selecting the same file
Filepicker widget doesn't respond when selecting the same file
Jul 20, 2023
When I use the filepicker widget, I would like to get a response for a callback function even when I select the same same twice or more times. The current behavior just ignores the callback for the same file selection.
This is a minimal working example:
, after that, it is necessary to select the same file multiple times and check that the println() function is only called once.
Here is an screeshoot that shows the behavior more clearly:
I'm using the latests versions of Interact and InteractBase, 0.10.5 and 0.10.10 respectively.
Maybe, the filepicker widget was meant to behave like that, however I need to detect selections even though the same file is chosen. Any ideas to overcome this?
The text was updated successfully, but these errors were encountered: