Hi All.
I have been developing an application for a few years in Cuba 7.2.
I was this week close to deploying a new screen in the Cuba application that crucially relies on drag and drop of Image components, using the vaadin DragSourceExtension and DropTargetExtension classes, when it suddenly no longer worked within Firefox, since the new release of Firefox version 109 this week. I also confirmed the same problem in the current release of Chrome.
The problem is when an Image component is dragged to a target, the DropTarget dropListener event is no longer being called.
However, I have found if the image component has no SRC value (i.e. an ‘empty’ image), the drop event does fire!
The problem does not happen in Firefox 108.0.2
In an effort to try and pinpoint the issue, I have written a Vaadin 8 only test application (no cuba framework) that demonstrates the problem. Will attach zip.
Simple pure javascript testing in the browser shows the browser is generating the drop event, and monitoring of the Vaadin app within the browser debugger shows that the browser native drop event is raised, but it is not forwarded back to the server by vaadin.
I have also written an equivalent program in vaadin 14 and in vaadin 23, and neither of these suffer from this issue - only Vaadin 8.
So I would conclude that with the recent releases of Firefox and Chrome, an incompatibility bug has arisen within Vaadin 8.1.14.
Of course, my problem is Vaadin 8 is end of life, yet Cuba 7.2 is still supported. Does Cuba have any policy in this case to try and find a solution to a breaking issue that arises in the underlying Vaadin?
I would be grateful for any suggestions, thank you.