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 scrollable previousButton vs prevButton #6774

Closed
AlexanderZeilmann opened this issue Jun 19, 2024 · 0 comments · Fixed by #6775 or leoo1992/GeradorQRCode#57 · May be fixed by nhattpn/BTL_LTNC#56
Closed

TabView scrollable previousButton vs prevButton #6774

AlexanderZeilmann opened this issue Jun 19, 2024 · 0 comments · Fixed by #6775 or leoo1992/GeradorQRCode#57 · May be fixed by nhattpn/BTL_LTNC#56
Labels
Component: Unstyled Issue related to unstyled/passthrough attributes good first issue *** Welcome to PrimeReact Family! *** Good issue!

Comments

@AlexanderZeilmann
Copy link
Contributor

Describe the bug

In the TabView component with the scrollable attribute (https://primereact.org/tabview/#scrollable) the pt key for the arrow on the left is called previousButton

previousButton?: TabViewPassThroughType<React.HTMLAttributes<HTMLButtonElement>>;
however only the key prevButton works for styling the element.

I assume the key in the type definition is false and should be prevButton.

See https://stackblitz.com/edit/ziz4cm?file=src%2FApp.jsx%3AL15 for a minimal example.

Reproducer

https://stackblitz.com/edit/ziz4cm?file=src%2FApp.jsx%3AL15

PrimeReact version

latest

React version

18.x

Language

TypeScript

Build / Runtime

Next.js

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@AlexanderZeilmann AlexanderZeilmann added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jun 19, 2024
@melloware melloware added Component: Unstyled Issue related to unstyled/passthrough attributes good first issue *** Welcome to PrimeReact Family! *** Good issue! and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Unstyled Issue related to unstyled/passthrough attributes good first issue *** Welcome to PrimeReact Family! *** Good issue!
Projects
None yet
2 participants