You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[x] bug report
[] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57
It is not possible to dynamically show/hide tabs in TabView/TabPanel - please see the above sandbox link. Clicking the "Toggle Header 2" button conditionally returns a false, which TabView is not able to process and crashes.
Expected behavior
Conditional rendering as document in React should be supported otherwise this is surprising behaviour.
Minimal reproduction of the problem with instructions
Clicking the "Toggle Header 2" conditionally returns a false, which TabView is not able to process and crashes.
Please tell us about your environment:
React version:
17.0.2
PrimeReact version:
6.5.0
The text was updated successfully, but these errors were encountered:
I'm submitting a ... (check one with "x")
Codesandbox Case (Bug Reports)
https://codesandbox.io/s/determined-galileo-mzs1p
Current behavior
It is not possible to dynamically show/hide tabs in TabView/TabPanel - please see the above sandbox link. Clicking the "Toggle Header 2" button conditionally returns a false, which TabView is not able to process and crashes.
Expected behavior
Conditional rendering as document in React should be supported otherwise this is surprising behaviour.
Minimal reproduction of the problem with instructions
Clicking the "Toggle Header 2" conditionally returns a false, which TabView is not able to process and crashes.
Please tell us about your environment:
React version:
17.0.2
PrimeReact version:
6.5.0
The text was updated successfully, but these errors were encountered: