@vlaaad I fixed the weird bug by implementing everything around it using pure event handlers. Still unsure what exactly went wrong, but it works now!
cool!
Of course I have more questions 🙂. What is the best way to implement an menu or context-menu? I want to show a menu when the user double clicks a regular :pane
so a custom context menu?
there are context menus available by default on controls, but pane isn't a control
you'll need to make a custom prop similar to ext.node/with-tooltip-props https://github.com/cljfx/cljfx/blob/master/src/cljfx/ext/node.clj
but with .show
and .hide
that are on context menu (https://openjfx.io/javadoc/12/javafx.controls/javafx/scene/control/ContextMenu.html) instead of Tooltip/install
and Tooltip/uninstall