iOS search cancel button conflicts with header right in landscape #2601
Labels
Platform: iOS
This issue is specific to iOS
Repro provided
A reproduction with a snack or repo is provided
Description
When
headerRight
is used, it squishes the touchable area of the cancel button of the search bar in landscape mode. There are still a couple pixels that will trigger the button, but it's very small. This only happens if the search bar is engaged in landscape - if you start searching in portrait then rotate to landscape and cancel, or start in landscape and rotate to portrait before cancel, it will work as expected.I didn't test
headerLeft
due to time, but I suspect it would be fine since the cancel button is on the right.Steps to reproduce
npm run ios
Snack or a link to a repository
https://github.com/pmmmwh/rn-screens-ios-search-cancel
Screens version
4.4.0
React Native version
0.76.5
Platforms
iOS
JavaScript runtime
Hermes
Workflow
Expo managed workflow
Architecture
Paper (Old Architecture)
Build type
Debug mode
Device
iOS simulator
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: