primereact icon indicating copy to clipboard operation
primereact copied to clipboard

TabView Scrollable right button is still visible when end of scrollable view is reached

Open Julian-Quirke opened this issue 3 months ago • 2 comments

Describe the bug

For scrollable tabs with enough tabs to display the scroll buttons, the right arrow button does not always disappear when the end of the scrollable tabs is reached.

Reproducer

https://stackblitz.com/edit/vitejs-vite-xsmnfjob

System Information

System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 20.19.1 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.8.2 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    primereact: latest => 10.9.5 
    react: ^19.1.0 => 19.1.0

Steps to reproduce the behavior

  1. Create a scrollable TabPanel inside a container with margins that is itself inside a container of width 920px.
  2. Scroll to the end of the TabPanel tab scroll.

Expected behavior

TabPanel right scroll button should disappear once the end of the TabPanel scroll is reached (as it does at the beginning of the TabPanel for the left scroll button).

Julian-Quirke avatar Sep 22 '25 09:09 Julian-Quirke

Bump

Julian-Quirke avatar Oct 21 '25 11:10 Julian-Quirke

Any update?

alfi-dim avatar Dec 05 '25 03:12 alfi-dim