mapbox-maps-android
mapbox-maps-android copied to clipboard
Map bounds are wrong while toggling the keyboard
Environment
- Android OS version: Android 14
- Devices affected: google pixel 6a
- Maps SDK Version: 11.4.0 (compose)
Observed behavior and steps to reproduce
If you go from screen with opened keyboard back to the map screen the map won't be drawn on part of the screen below keyboard.
https://github.com/mapbox/mapbox-maps-android/assets/1395176/e708ad81-de84-4a35-b819-0eb7dc9e6f88
If you first close keyboard and then go back to the map screen - all good.
https://github.com/mapbox/mapbox-maps-android/assets/1395176/a4481428-2417-486e-b1e4-45266fc2c915
Expected behavior
Map successfully defines it bounds in case of composing the same time keyboard toggling.
Notes / preliminary analysis
Other several devices + emulator yet works OK.
Current mode is android:windowSoftInputMode="adjustResize"