My app dynamically creates a TextInput and focuses it when the user presses a button. When this happens, the keyboard pops up and the surrounding view moves upward slightly. I do not want this to happen. How do I achieve this?
            Asked
            
        
        
            Active
            
        
            Viewed 37 times
        
    0
            
            
         
    
    
        Daniel Jung
        
- 93
- 4
- 
                    you may have wrapped your views in keyboardAvoidingView i suppose – Gaurav Roy Aug 16 '22 at 08:47
- 
                    @GauravRoy Sadly I haven't. I do not understand why the view is moving. – Daniel Jung Aug 16 '22 at 08:48
- 
                    1Self answer https://stackoverflow.com/questions/39344140/react-native-how-to-control-what-keyboard-pushes-up this worked for me – Daniel Jung Aug 16 '22 at 08:56