IOS: KeyboardToolbar does not respect safe area in landscape orientation #572
Labels
🐛 bug
Something isn't working
🍎 iOS
iOS specific
KeyboardToolbar
Anything related to KeyboardToolbar component
repro provided
Issue contains reproduction repository/code
Describe the bug
On IOS devices in landscape orientation the "up arrow" button on the left and the "Close" button on the right are outside the safe area and covered by the "isle" (front camera on iPhone 15).
Code snippet
The error occurs in the file: src/components/KeyboardToolbar/index.tsx
at line: 216
Here the code:
The
paddingHorizontal
is declared as constant with a value of 8. On IOS it's required to be dynamic to adapt to safe area padding.Repo for reproducing
Create a component with following code:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The "up arrow" button on the left and the "Close" button on the right to be within the safe area and not covered by the "isle" (front camera on iPhone 15).
Smartphone (please complete the following information):
Additional context
I patched the file: src/components/KeyboardToolbar/index.tsx
with following code:
The text was updated successfully, but these errors were encountered: