You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I have a scrollable tab list (see my demo) and I navigate far to the right,
then filter the underlying tab list such that only a single tab remains should be displayed, then
🐛 I end up with an empty tab list and
I need to first scroll far back to the right before I see any selectable tab
After navigating back to the beginning of the list, I see my single tab.
🐛 The right scroll control is still visible although clearly it shouldn't be scrollable anymore because the new tab list is so narrow
🐛 I can still scroll to the right
When selecting the first tab
🐛 The right scroll control remains visible
🐛 However compared to before I can't to the right anymore, clicking on it has no affect.
Note that similar bugs happen, if I start with a single tab, i.e. no scroll controls and then replace the tab list with a loooong tab list. The scroll controls don't necessarily become visible.
Describe the bug
When I have a scrollable tab list (see my demo) and I navigate far to the right,
then filter the underlying tab list such that only a single tab remains should be displayed, then
After navigating back to the beginning of the list, I see my single tab.
When selecting the first tab
Note that similar bugs happen, if I start with a single tab, i.e. no scroll controls and then replace the tab list with a loooong tab list. The scroll controls don't necessarily become visible.
Environment
Stackblitz
Reproducer
https://stackblitz.com/edit/stackblitz-starters-v2tohicl
Angular version
18.2.0
PrimeNG version
18.0.0
Expected behavior
The text was updated successfully, but these errors were encountered: