Draggable TabPane introduces unwanted tab movement on selection

Craig Raw craigraw at gmail.com
Tue Aug 23 08:31:45 UTC 2022


When setting the tab drag policy on a TabPane to REORDER, undesirable
behaviour is introduced where a tab occasionally "jumps" or slides to the
right on selection, by about 20px. I cannot determine what causes this, but
it seems to occur more often when clicking rapidly between tabs. After
sliding to the right, the tab jumps back to its original position.

The best way to demonstrate this is visually through this animated GIF:
https://user-images.githubusercontent.com/862166/159428470-1bdf9761-e8df-453a-9a8c-18686ceae4f6.gif

This is sufficiently disconcerting that it makes draggable tabs unusable
for me.

Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20220823/cbf4820b/attachment.htm>


More information about the openjfx-dev mailing list