inaturalist / iNaturalistReactNative

Cross-platform version of the iNat mobile app
MIT License
54 stars 16 forks source link

Keyboard prevents user from giving location permission #1743

Closed albullington closed 1 week ago

albullington commented 2 weeks ago

Describe the bug When adding a location for the first time from ObsEdit -> LocationPicker, a user will see the keyboard covering the bottom half of the LocationPermissionsGate.

To Reproduce Steps to reproduce the behavior:

  1. Install a fresh build
  2. Create an observation with a gallery photo
  3. Tap on LocationPicker to edit location
  4. LocationPermissionsGate will pop up with the keyboard covering the button to confirm or deny

Expected behavior Keyboard should not block the location permissions screen.

Screenshots IMG_1915

Context (please complete the following information): OS: iOS App version: v0.34.0+97

Additional context This is likely happening because the LocationPicker is loading underneath the LocationPermissionsGate. Maybe it's better to show the location permissions gate in ObsEdit before navigating to the Location Picker.

jtklein commented 1 week ago

I had to fix this in my current branch while working on changes to permissions.