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 a TabView is set to scrollable="true", the forward button is always visible on start, even if the tabs cannot scroll because they don't take all the horizontal space.
Also, even when scrolling to the last element, the forward button doesn't always disappear due to a rounding error. To reproduce this second problem just use the example here: https://primeng.org/tabview#scrollable on monitor with different sizes.
Describe the bug
When a TabView is set to

scrollable="true"
, the forward button is always visible on start, even if the tabs cannot scroll because they don't take all the horizontal space.Also, even when scrolling to the last element, the forward button doesn't always disappear due to a rounding error. To reproduce this second problem just use the example here: https://primeng.org/tabview#scrollable on monitor with different sizes.
Environment
Windows
Reproducer
https://stackblitz.com/edit/n1wgnj?file=src%2Fapp%2Fdemo%2Ftab-view-scrollable-demo.ts
Angular version
16.X
PrimeNG version
16.1.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
16.20
Browser(s)
No response
Steps to reproduce the behavior
Problem 1:
Problem 2:
Expected behavior
At steps 2 and 3 respectively, the button should be hidden.
The text was updated successfully, but these errors were encountered: