react-native-keyboard-aware-scroll-view icon indicating copy to clipboard operation
react-native-keyboard-aware-scroll-view copied to clipboard

Doesn't work on: KeyboardAwareScrollView

Open vladimendoza opened this issue 4 years ago • 2 comments

but for some reason it doesn't work, can you help me? when clicking inside the input absolutely nothing happens

vladimendoza avatar Jun 02 '21 19:06 vladimendoza

Hey @Bladymendoza97 Can you provide a screenshot or better a gif? it will help us to identify the problem 😉

flexbox avatar Jul 02 '21 07:07 flexbox

Works on Android 9. I coudn't get it to work with KeyboardAvoidingView

  return (
    <KeyboardAwareScrollView contentContainerStyle={{ flex: 1, justifyContent: "flex-end" }} enableOnAndroid={true} extraScrollHeight={10}>
      <View style={styles.footer}>
        <View style={styles.inputContainer}>
          <TextInput style={styles.textInput} multiline placeholder='Message' onChangeText={text => setInputText(text)} value={inputText} />
          <TouchableOpacity style={styles.sendButton}>
            <Icon name='ios-send' size={30} color='darkgrey' />
          </TouchableOpacity>
        </View>
      </View>
    </KeyboardAwareScrollView>
  )

besthost86 avatar Mar 26 '22 18:03 besthost86