Open OleskyBogdanov opened 1 week ago
Hi,
I can't replicate the problem. I tried displaying 1000 buttons in a tab, drag-drop the tab quickly to re-order/detach.
However, please try disabling tab animation with below css and let me know if it makes any difference
.tab-pane {
-fx-open-tab-animation: NONE;
-fx-close-tab-animation: NONE;
}
If the tab contains a lot of data, when you start dragging the tab and then drop it immediately, the hint doesn't disappear. Linux OpenSuse Leap 15.6
Find fix, still not perfect, but works better
if (event.isDropCompleted() || !isDragEventInsideNode(DetachableTabPane.this, event)) { Platform.runLater(() -> { ObservableList<Node> children = DetachableTabPane.this.getChildren(); children.remove(dropHint.getPath()); children.remove(dockPosIndicator); DetachableTabPane.this.requestLayout(); }); }