I encountered the same problem under Windows 10/11. After a thorough study of the application stack and its interactions, I was able to assume that this is not a JavaFX problem. The path led to the operating system itself - the driver is waiting for a reaction to a long press interaction(?), which is not present on the program side... or it is not present from the Java machine. A quick solution is to disable touch visualization in the touch driver settings. This is on setting the Pen and Touch settings, disable the Show visual feedback option, hit Apply.