This repository has been archived by the owner on Mar 27, 2023. It is now read-only.
Add support for dynamically hiding tabs in Overflow if they do not fit the viewport #5939
Unanswered
unknownzone96
asked this question in
General
Replies: 1 comment 3 replies
-
For performance reasons Clarity will not listen to viewport changes. If it is important for you, you can implement it on your side. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dynamically hiding the tabs that do not fit the viewport in the Overflow dropdown is not currently supported: https://clarity.design/angular-components/tab/#overflow
Additional code is required to make Clarity Overflow responsive.
IMHO it is a common practice to dynamically add tabs in overflow when sizing down the viewport, hiding rightmost tab first.
Beta Was this translation helpful? Give feedback.
All reactions