Half-Hidden tab getting close while not clicking on close button #8431
Labels
bug
bugs found in the application
help wanted
issues meant to be picked up, require help
ui/ux
issues related to user interface / user experience
Bug Description:
When you are clicking at the right most part of a half-hidden tab, the tab in question gets closed (Zone highlighted in red) :
Steps to Reproduce:
Additional Information
This error comes from PhosphorJS which is now abandonned as discussed in this thread :
#6501
In phosphorJS tabbar when the mousedown event is received, the tab that is clicked becomes the default one, so the tabbar gets centered on this tab.
In the mouse up event, there is a check if the click was made on the close icon. This check returns true because now the tabbar was recentered on the tab clicked and so the click calls the close tab.
I checked with VSCode and in this case, the tab only gets selected : not closed
The text was updated successfully, but these errors were encountered: