Very annoying behaviour with mouse middle click to close editor tab

there are 8 open tabs in 2 rows
I want to close one tab in second row, I middle click on it's title
the tab is closed, but now there are 7 tabs and they reorganizing to 1 row
mouse middle click event is something like "delegating" to the "bottom container"
now there is 1 tab row, thus the "bottom container" is the editor of some other tab
unfortunately in the editor there is some class name under the mouse and middle clicking on it opens new tab with this class

quickly it behaves like this:
i middle click to close tab, it is immediately closed and in its place new tab is opened
middle click on that new opened tab do nothing - it is closed and immediately opened

Please sign in to leave a comment.