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
I've fixed the crash, but now the closing isn't correct, seems to be a PrimeReact bug with onClose and dynamic created Tabs.
In the demo, there are 5 tabs when I close the third tab, the forth doesn't get displayed anymore, so there are only 3 remaining but there should be 4, in my array which I pass to the "TabPanel" component are 4 Tabs.
Tabset test screen
closed middle tab - first was selected
useLayoutEffect(() => {
80 | if (onLoadCallback) {
81 | if (props.compSizes && props.compSizes.size > 0 && props.selectedIndex !== -1) {
The text was updated successfully, but these errors were encountered: