- Notifications
You must be signed in to change notification settings - Fork 644
Open
Description
untitled.webm
Issue
When focus on Textinput in Android, scrolloffset shivers vertically and the focused textinput is overlapped with keyboard!
Anyone have fixed this bug?
IOS is okay.
Code
<KeyboardAwareScrollView bounces={false} extraScrollHeight={38} enableOnAndroid contentContainerStyle={{ flexGrow: 1, }} bounces={false} onScrollBeginDrag={() => Keyboard.dismiss()} // automaticallyAdjustKeyboardInsets > <Pressable style={[ Layout.fill, { backgroundColor: Colors.background, paddingBottom: 300 }, ]} disabled={portfolioUpdating} onPress={() => { Keyboard.dismiss() }}> <View style={styles.inputItemCard}> <View style={Layout.row}> <TextOneLine style={{ fontFamily: 'NotoSansKR-Bold' }}> 이름 </TextOneLine> </View> <TextInput multiline={true} numberOfLines={1} keyboardType="default" placeholder="이름을 입력해주세요." /> </View> <View style={styles.inputItemCard}> <View style={Layout.row}> <TextOneLine style={{ fontFamily: 'NotoSansKR-Bold' }}> 설명1 </TextOneLine> </View> <TextInput onChangeText={text => { }} /> </View> <View style={styles.inputItemCard}> <View style={Layout.row}> <TextOneLine style={{ fontFamily: 'NotoSansKR-Bold' }}> 이름 </TextOneLine> </View> <TextInput onChangeText={text => {}} /> </View> </Pressable> </KeyboardAwareScrollView>
Metadata
Metadata
Assignees
Labels
No labels