I have a Form in a NavigationView which displays an unknown number of fields for capturing customer input. Some fields are plain TextFields, others are Pickers with multiple selection. If the Picker is far enough down in the Form to be covered by the keyboard when a TextField is focused, then tapping the Picker with the keyboard up prevents the successful transition to the Picker's auto-generated detail view. The detail view is pushed and immediately popped, which prevents selection.
I have replicated this issue in a simple single ContentView sample application and have identified a few key findings that lead me to believe this may be a bug:
- The number of items in the Form prior to the Picker dictates whether this occurs, and differs based on screen size. For iPhone 13, 9+ TextFields before the Picker causes this to happen; for iPhone 13 Pro Max, 12+ TextFields before the Picker causes this to happen.
- With the same number of total items in the Form, moving the Picker higher on the Form prevents this from happening. If the Picker will not be covered by the keyboard if any TextField is selected, the issue does not happen.
- If the keyboard is not visible when tapping the Picker, the issue does not happen, regardless of the number of items in the Form.