mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-22 05:27:00 +02:00
feat: on back navigation, close mobile sidebar (#5462)
* On back, close mobile navbar sidebar * more reliable code to block history pop events * android backbutton: just close the drawer without cancellin the backward navigation
This commit is contained in:
parent
6b7f3e8553
commit
f361e89b14
3 changed files with 65 additions and 0 deletions
|
@ -71,3 +71,5 @@ export {useLocalPathname} from './utils/useLocalPathname';
|
|||
|
||||
export {translateTagsPageTitle, listTagsByLetters} from './utils/tagsUtils';
|
||||
export type {TagLetterEntry} from './utils/tagsUtils';
|
||||
|
||||
export {useHistoryPopHandler} from './utils/historyUtils';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue