Skip to content
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

Tabview: forward/backward buttons not showing up when dynamic tab panels overflow #15680

Closed
thecooper opened this issue May 23, 2024 · 0 comments · Fixed by #15986 · 4 remaining pull requests
Closed

Tabview: forward/backward buttons not showing up when dynamic tab panels overflow #15680

thecooper opened this issue May 23, 2024 · 0 comments · Fixed by #15986 · 4 remaining pull requests
Assignees
Labels
LTS-16-PORTABLE LTS-FIXED-16.9.13 Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@thecooper
Copy link

Describe the bug

When using a ngFor over tab panels to generate them dynamically there is an edge case where the forward/backward buttons don't show up. This happens specifically when I introduce a number of tab panels that don't require them to show up, and then increase the number of tabs so that they cause scrolling. When this happens, the scroll right button doesn't appear as I would expect it to.

Environment

https://stackblitz.com/edit/rh87uy-b29e6v

Reproducer

https://stackblitz.com/edit/rh87uy-b29e6v

Angular version

^17.2.3

PrimeNG version

17.17.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.12.1

Browser(s)

No response

Steps to reproduce the behavior

  1. Click on "Header 1" checkbox
  2. Click on "Select All" checkbox

Expected behavior

I would expect to see the left navigation button in the tab list to appear when there are more tabs than can fit in the tab view container.

@thecooper thecooper added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label May 23, 2024
@mehmetcetin01140 mehmetcetin01140 added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jul 9, 2024
@mehmetcetin01140 mehmetcetin01140 self-assigned this Jul 9, 2024
@mehmetcetin01140 mehmetcetin01140 added this to the 17.18.4 milestone Jul 9, 2024
cetincakiroglu added a commit that referenced this issue Jul 11, 2024
Fixed #15680 - TabView | forward/backward buttons not showing up when…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment