TabMenu is not updating its style when using unstyled mode and controlled mode #5992
Labels
Component: Unstyled
Issue related to unstyled/passthrough attributes
Milestone
Discussed in https://github.com/orgs/primefaces/discussions/1213
Originally posted by sjunior96 February 16, 2024
Hi all,
I am using the TabMenu component from the PrimeReact + Tailwind and I noticed that when I use it in controlled mode and as unstyled, when the activeIndex change, it does not update the tab style, as shown below:
Before tab changes
After tab changes
If we comment/remove the activeIndex and onTabChange props then it will work again.
Here is a Stackblitz example: https://stackblitz.com/edit/ze3hdg?file=src%2FApp.jsx
The text was updated successfully, but these errors were encountered: