Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: only render secondaryMenu if it should be shown
fixes facebook#10704 Issue was that with keyboard, you could reach the primary menu, while it was made invisible by CSS. By not rendering secondaryMenu based on the secondaryMenuShown logic, , we make sure it isn't accessible by keyboard while it is hidden.
- Loading branch information