dominicstop / react-native-ios-context-menu

A react-native component to use context menu's (UIMenu) on iOS 13/14+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auxiliary preview jump paired with adjustKeyboardInsets on FlatList

morajabi opened this issue · comments

commented

After settings this property on FlatList and having a textInput with <InputAccessoryView> rendered below the list this behaviour is observed (see video)

Code:

<>
  <FlatList 
     automaticallyAdjustKeyboardInsets={true}
  />
  <InputAccessoryView>
     <TextInput />
  </InputAccessoryView>
</>
CleanShot.2023-11-04.at.12.18.17.mp4

This is a known problem with InputAccessoryView. Best would be to use react-native-keyboard-controller instead to build the sticky navbar. InputAccessoryView also hides on page navigation and it also hides if you trigger alert. Its really terrible and you should avoid using it

Good to know thanks, I’ll close this then. Classic RN built-in components being broken.