TabMenu: Does not show selected tab when using templates in MenuItem #4739
Labels
Resolution: Workaround
Issue or pull request contains a workaround. It needs to be reviewed further by Core Team
Describe the bug
As the Title says, when using menu items with templates, the TabMenu does not show which tab is selected.
Reproducer
https://codesandbox.io/s/primereact-demo-forked-c5sy5g
PrimeReact version
9.6.0
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
Just click the MenuItem with template "Amy Elsner" or the one with the split button.
TabMenu does not show those tabs selected, also the layout seems to be strange.
Expected behavior
TabMenu must show selected tabs even if MenuItems use templates.
The text was updated successfully, but these errors were encountered: