OnPress nie działa, gdy textInput jest skupione w React Native

<ScrollView keyboardShouldPersistTaps='handled' >
  //Other Components

  <Button onPress={() => {
    Keyboard.dismiss();
    //Your logic
  }}/>

</ScrollView>
Unusual Unicorn