-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement] Return ability to show hidden tabs #3495
Comments
Hmm... TST 4 does not generate DOM nodes for hidden tabs, and the condition is hard coded. It looks very hard to return ability to generate DOM nodes for tabs currently rejected to be rendered. |
I see... |
I have another concern: if I introduce options to build DOM nodes for collapsed and hidden tabs, they may make things more worse about performance. Currently TST's virtual scrolling expects all tabs have same height and hidden/collapsed tabs are invisible = zero height, so operations to extract list of to-be-rendered tabs is easily calculated. If we allow "collapsed/hidden tabs with zero height by default and easily changeable its visibility via user style sheet", we need to scan tabs state to measure actual height... So it is the only one effective solution: introducing options to expose hidden and collapsed tabs completely. |
I've added a new option And I dropped the plan to add another option to expose collapsed tabs, because "visible collapsed tabs" will have height different to regular tabs and it is meaningless if only full height "visible collapsed tabs" became available. |
I was able to test this today... |
Abstract
It used to be possible to hide unloaded tabs on Firefox's horizontal tab bar, while keep showing them on the Tree Style Tab's sidebar.
This was very useful to me to be able to quickly jump to different active tabs by clicking the horizontal tab bar, rather than scrolling on the TST sidebar.
I was using the Tab Unloader extension for this behavior, and created the same issue in their Github repo:
Lej77/tab-unloader-for-tree-style-tab#45
Steps to see the situation
Expected result
Unloaded tabs can be hidden in the horizontal tab bar, while keep showing them in TST's sidebar.
Actual (present) result
Unloaded tabs cannot be hidden in the horizontal tab bar while keep showing them in TST's sidebar.
Environment
The text was updated successfully, but these errors were encountered: