TabView: TabPanel doesn't close if the 'closeIcon' prop is used #6165
Labels
Resolution: By Design
The behavior in the issue is by design and the component exhibits the expected behavior
Milestone
Describe the bug
If the
closeIcon
prop is used, it's impossible to close the tab withcloseable
prop.Reproducer
https://stackblitz.com/edit/5h3nmf?file=src%2FApp.jsx
PrimeReact version
latest
React version
18.x
Language
ALL
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
TabPanel is closed regardless of 'closeIcon' prop value
The text was updated successfully, but these errors were encountered: