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)
|
const scrollViewRef = useRef<ScrollView>(null)
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
scrollViewRef.current?.scrollToEnd({ animated: true })
|
setTimeout(
|
||||||
}, [])
|
() => scrollViewRef.current?.scrollToEnd({ animated: true }),
|
||||||
|
150
|
||||||
|
)
|
||||||
|
}, [scrollViewRef.current])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<KeyboardAvoidingView
|
<KeyboardAvoidingView
|
||||||
|
Reference in New Issue
Block a user