Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

keyboard avoidance view not working on react native

<KeyboardAvoidingView
  keyboardVerticalOffset = {Header.HEIGHT + 20} // adjust the value here if you need more padding
  style = {{ flex: 1 }}
  behavior = "padding" >
    
// or

<KeyboardAvoidingView styles={styles.container} behavior='position'>
 
PREVIOUS NEXT
Tagged: #keyboard #avoidance #view #working #react #native
ADD COMMENT
Topic
Name
9+7 =