bsky-app/src/lib/hooks
dan 7fd7970237
Make scroll handling contextual (#2200)
* Add an intermediate List component

* Fix type

* Add onScrolledDownChange

* Port pager to use onScrolledDownChange

* Fix on mobile

* Don't pass down onScroll (replacement TBD)

* Remove resetMainScroll

* Replace onMainScroll with MainScrollProvider

* Hook ScrollProvider to pager

* Fix the remaining special case

* Optimize a bit

* Enforce that onScroll cannot be passed

* Keep value updated even if no handler

* Also memo it
2023-12-13 18:48:20 -08:00
..
useAccountSwitcher.ts Fixes issue with (#2119) 2023-12-07 16:53:50 -08:00
useAnimatedScrollHandler_FIXED.ts Fix scroll on native (#2170) 2023-12-11 13:47:41 -08:00
useAnimatedScrollHandler_FIXED.web.ts Fix scroll on native (#2170) 2023-12-11 13:47:41 -08:00
useAnimatedValue.ts Merge main into the Web PR (#230) 2023-02-22 14:23:57 -06:00
useAuxClick.ts 🐛 Handle middle mouse click on feed list items (#1469) 2023-09-18 14:34:12 -07:00
useAuxClick.web.ts 🐛 Handle middle mouse click on feed list items (#1469) 2023-09-18 14:34:12 -07:00
useColorSchemeStyle.ts #435 web dark mode (#455) 2023-04-12 18:49:40 -07:00
useCustomPalette.ts Add user invite codes (#393) 2023-04-05 18:56:02 -05:00
useDraggableScrollView.ts make tab bar scroll view draggable on web 2023-05-24 15:04:30 -07:00
useIsKeyboardVisible.ts ListAddUser modal UX improvements (#1809) 2023-11-03 16:44:00 -07:00
useMinimalShellMode.tsx Sync top/bottom bar disappearance to the scroll (#1855) 2023-11-09 12:15:05 -08:00
useNavigationTabState.ts Add feeds tab 2023-05-25 20:02:37 -05:00
useNavigationTabState.web.ts APP-70 give profile its own tab mobile (#469) 2023-04-18 11:19:37 -05:00
useNonReactiveCallback.ts Fix jumpy modal regression (#1945) 2023-11-16 18:01:51 -08:00
useOTAUpdate.ts Hindi Internationalization (#1914) 2023-11-20 13:29:27 -08:00
usePalette.ts Memoize usePalette (#2201) 2023-12-13 07:09:07 +00:00
usePermissions.ts handle stuck state with granular android permissions 2023-08-29 17:09:38 -05:00
useSetTitle.ts Refactor notifications to use react-query (#1878) 2023-11-12 18:13:11 -08:00
useTabFocusEffect.ts Improvements to notifications screen [APP-520] (#501) 2023-04-20 17:36:25 -05:00
useTimer.ts Fix a bunch of type errors and add a type-check to the github workflows (#837) 2023-06-02 15:01:04 -05:00
useToggleMutationQueue.ts Add a mutation queue to fix race conditions in toggles (#1933) 2023-11-16 14:01:01 -08:00
useWebMediaQueries.tsx Fix scuffed web styles caused by overlapping viewport breakpoint boundaries (#1985) 2023-11-30 16:14:36 -08:00