-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Labels
Type: BugIssue contains a bug related to a specific component. Something about the component is not workingIssue contains a bug related to a specific component. Something about the component is not working
Milestone
Description
Describe the bug
When TabMenu's activeItem is set from the code and there are more items then can be displayed on the screen (scrolling is needed and enabled), and the activeItem is not currently visible on the screen, then scrolling doesn't occur.
Environment
Tested on both PrimeNG v16.9.12-lts and 17.18.3 and the behaviour is the same.
Reproducer
https://stackblitz.com/edit/pvzkh6?file=src%2Fapp%2Fdemo%2Ftab-menu-scrollable-demo.ts
Angular version
16.2.0
PrimeNG version
16.9.12-lts
Build / Runtime
TypeScript
Language
TypeScript
Node version (for AoT issues node --version)
18.20.3
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
Metadata
Metadata
Assignees
Labels
Type: BugIssue contains a bug related to a specific component. Something about the component is not workingIssue contains a bug related to a specific component. Something about the component is not working