tangled mirror of catsky-🐱 Soothing soft social-app fork with all the niche toggles! (Unofficial); for issues and PRs please put them on github:NekoDrone/catsky-social

Fix profile label section soft reset scroll (#9103)

* Fix profile label section scrollto

* revert back to headerHeight

authored by samuel.fm and committed by GitHub 9bea4508 fb5d5642

Changed files
+2 -4
src
screens
Profile
Sections
+2 -4
src/screens/Profile/Sections/Labels.tsx
··· 48 48 const t = useTheme() 49 49 50 50 const onScrollToTop = useCallback(() => { 51 - // @ts-expect-error TODO fix this 52 - scrollElRef.current?.scrollTo({ 51 + scrollElRef.current?.scrollToOffset({ 53 52 animated: isNative, 54 - x: 0, 55 - y: -headerHeight, 53 + offset: -headerHeight, 56 54 }) 57 55 }, [scrollElRef, headerHeight]) 58 56