Bluesky app fork with some witchin' additions 💫 witchsky.app
bluesky fork client
122
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix unscrollable body when returning to desktop mode from mobile mode with navigation drawer open. (#6201)

* fix: only lock body when drawer is opened and not in desktop mode

* Reuse variable

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>

authored by

JustSNguyen
Dan Abramov
and committed by
GitHub
2728de03 b85a7da2

+3 -2
+3 -2
src/view/shell/index.web.tsx
··· 32 32 const navigator = useNavigation<NavigationProp>() 33 33 const closeAllActiveElements = useCloseAllActiveElements() 34 34 const {_} = useLingui() 35 + const showDrawer = !isDesktop && isDrawerOpen 35 36 36 - useWebBodyScrollLock(isDrawerOpen) 37 + useWebBodyScrollLock(showDrawer) 37 38 useComposerKeyboardShortcut() 38 39 useIntentHandler() 39 40 ··· 56 57 <Lightbox /> 57 58 <PortalOutlet /> 58 59 59 - {!isDesktop && isDrawerOpen && ( 60 + {showDrawer && ( 60 61 <TouchableWithoutFeedback 61 62 onPress={ev => { 62 63 // Only close if press happens outside of the drawer