Forum Discussion
Crash when submitting web page input fields with soft keyboard Enter
### Summary
Microsoft Edge Canary for Android crashes when submitting web page input fields using the Android soft keyboard Enter key.
GitHub search is one stable reproduction case, but this is not GitHub-specific. I have also reproduced similar crashes on other websites with text input/search fields.
### Environment
- App: Microsoft Edge Canary for Android
- Package: `com.microsoft.emmx.canary`
- Version: `152.0.4142.0`
- Version code: `414200023`
- Device: vivo V2417A
- Android SDK: 36
- ABI: arm64-v8a
### Reproduction case
1. Open Microsoft Edge Canary on Android.
2. Navigate to `https://github.com/`.
3. Tap the GitHub search box.
4. Type any text.
5. Press Enter on the Android soft keyboard.
### Expected behavior
The input/search action should be submitted normally.
### Actual behavior
Edge Canary crashes immediately after pressing Enter.
### Scope
This does not appear to be specific to GitHub. The same type of crash can also be triggered on other websites when submitting text input/search fields using the Android soft keyboard Enter key.
GitHub is used here as a minimal stable repro because it is easy to test.
### Crash information
Exception:
```text
java.lang.IndexOutOfBoundsException: Index 24 out of bounds for length 0
```
Relevant stack trace:
```text
java.util.ArrayList.get(ArrayList.java:434)
android.view.ViewGroup.getAndVerifyPreorderedView(ViewGroup.java:3873)
android.view.ViewGroup.gatherTransparentRegion(ViewGroup.java:7438)
android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:5207)
android.view.Choreographer.doFrame(...)
```
### Notes
- Reproduced directly on the Android phone.
- Trigger appears related to submitting web page input/search fields via the Android soft keyboard Enter key.