When I use a TabPane with a touchscreen, the tabs are switching when I swipe left or right, which I want to prevent.
I fixed part of the problem by consuming the swipe events on the child panes, but the tabs still switch when I swipe in the area where the tabs are displayed.
I tried to consume the events that the TabPane generates, such as the swipe and scroll events, but the tabs are still switching. How do I prevent this from happening?