Fix scroll on profile lists/feeds (#2168)
This commit is contained in:
parent
b82c5177b9
commit
8929ff526f
8 changed files with 54 additions and 53 deletions
|
@ -7,7 +7,7 @@ import {ErrorMessage} from '../util/error/ErrorMessage'
|
|||
import {LoadMoreRetryBtn} from '../util/LoadMoreRetryBtn'
|
||||
import {EmptyState} from '../util/EmptyState'
|
||||
import {OnScrollHandler} from 'lib/hooks/useOnMainScroll'
|
||||
import {useAnimatedScrollHandler} from '#/lib/hooks/useAnimatedScrollHandler_FIXED'
|
||||
import {useAnimatedScrollHandler_FIXED} from '#/lib/hooks/useAnimatedScrollHandler_FIXED'
|
||||
import {s} from 'lib/styles'
|
||||
import {usePalette} from 'lib/hooks/usePalette'
|
||||
import {useNotificationFeedQuery} from '#/state/queries/notifications/feed'
|
||||
|
@ -135,7 +135,7 @@ export function Feed({
|
|||
[isFetchingNextPage],
|
||||
)
|
||||
|
||||
const scrollHandler = useAnimatedScrollHandler(onScroll || {})
|
||||
const scrollHandler = useAnimatedScrollHandler_FIXED(onScroll || {})
|
||||
return (
|
||||
<View style={s.hContentRegion}>
|
||||
{error && (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue