inaturalist / iNaturalistReactNative

Cross-platform version of the iNat mobile app
MIT License
70 stars 25 forks source link

TextInputSheet covered by keyboard on tablet in landscape orientation #2179

Open kueda opened 1 month ago

kueda commented 1 month ago

Describe the bug Using a TextInputSheet on a tablet in landscape orientation is impossible b/c the bottom sheet appears behind the soft keyboard.

To Reproduce Steps to reproduce the behavior:

  1. Launch the app on a tablet; if you're using a simulator, make sure you're not using your connected hardware keyboard.
  2. Rotate into landscape orientation
  3. Go to an observation and try to add a comment
  4. The soft keyboard on screen covers up the text area you're trying to edit

Expected behavior The bottom sheet should be visible, even if you have to drastically reduce its height. If there's a device where there's really no room for all the UI in the bottom sheet and the textarea, talk to Abhas about alternatives (could do a different layout, hide some elements, etc).

Screenshots

iPad Mini iPad Air
Simulator Screenshot - iPad mini (6th generation) - 2024-09-24 at 16 13 25 Simulator Screenshot - iPad Air 11-inch (M2) - 2024-09-24 at 16 13 30

Context (please complete the following information):