DataTransfer API not working after first use
I'm trying to create a Drag & Drop file feature in my web page following this doc https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API/File_drag_an… (les mer)
I'm trying to create a Drag & Drop file feature in my web page following this doc https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API/File_drag_and_drop
The dropHandler function works as expected the first time I tried to drop a file into a "drop area" div, but then does not work anymore. In all subsequent calls, the drop event is triggered but there is no file in
`` event.dataTransfer.items // empty event.dataTransfer.files // empty ```
This behavior is the same in Troubleshoot Mode.
Additional data
Firefox version: 123.0.1 (64 bits) OS: Debian 12