How to reproduce:
1. Download and open the attached project
2. Build and deploy the project to iOS
3. Press the input field and type anything in
4. Press the "Done" button in the keyboard layout
5. Observe the crash
Reproducible with: 2021.3.30f1, 2022.3.10f1, 2023.1.15f1, 2023.2.0b11, 2023.3.0a7
Reproduced on: iPhone 13 Pro (iOS 16.1.1), iPhone 12 Pro (iOS 14.2.1)