Skip to content

Commit

Permalink
fix(react): update side nav aria-hidden check (#11359)
Browse files Browse the repository at this point in the history
* fix(styles): update breadcrumb to include link

* refactor(styles): move css to dedicate entrypoint for import ordering

* fix(react): update side nav aria-hidden check

Co-authored-by: Taylor Jones <[email protected]>
  • Loading branch information
joshblack and tay1orjones authored May 19, 2022
1 parent 1952328 commit f883b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/components/UIShell/SideNav.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const SideNav = React.forwardRef(function SideNav(props, ref) {
}

const isSideNavCollapsed = useMatchMedia(`(max-width: 1055px)`);
const ariaHidden = expanded === false && isSideNavCollapsed;
const ariaHidden = isRail ? false : expanded === false && isSideNavCollapsed;

return (
<>
Expand Down

0 comments on commit f883b3a

Please sign in to comment.