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
fix(NavItem): do not include aria-controls if the related element is not mounted (#40)
* test(TabContainerSpec): converted to use @testing-library/react
* test(ModalSpec): re-enables 'Focused state' tests
* fix(NavItem): do not include aria-controls if the related TabPanel is not mounted because of unmountOnExit
When using `unmountOnExit`, the inactive TabPanels are not mounted, therefore the aria-controls in NavItem would refer an element that doesn't exist.
* fix(NavItem): include aria-controls only for the active TabPanel when mountOnEnter is enabled
0 commit comments