mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Update Switch.tsx
This commit is contained in:
@ -57,8 +57,11 @@ const TabMeSwitch: React.FC = () => {
|
||||
|
||||
const scrollViewRef = useRef<ScrollView>(null)
|
||||
useEffect(() => {
|
||||
scrollViewRef.current?.scrollToEnd({ animated: true })
|
||||
}, [])
|
||||
setTimeout(
|
||||
() => scrollViewRef.current?.scrollToEnd({ animated: true }),
|
||||
150
|
||||
)
|
||||
}, [scrollViewRef.current])
|
||||
|
||||
return (
|
||||
<KeyboardAvoidingView
|
||||
|
Reference in New Issue
Block a user