getodk / collect

ODK Collect is an Android app for filling out forms. It's been used to collect billions of data points in challenging environments around the world. Contribute and make the world a better place! ✨📋✨
https://docs.getodk.org/collect-intro
Other
700 stars 1.35k forks source link

Hide keyboard when geopoint dialog is up #6126

Open yanokwa opened 3 weeks ago

yanokwa commented 3 weeks ago

ODK Collect version

Collect v2024.1.3

Android version

12

Device used

Pixel 3a

Problem description

In a field list, when there is a question that opens the keyboard followed by a question that launches a dialog (e.g., geopoint), the keyboard stays up and covers the dialog and there's now way to minimize the keyboard so I can act on the dialog.

Steps to reproduce the problem

https://github.com/getodk/collect/assets/32369/fb91517a-5d02-4c3d-bee4-45065b7b9101

Expected behavior

The keyboard is hidden when I launch the dialog.

Other information

Rotating the screen multiple times moves the dialog above the keyboard.

screenshot-1715023244861