Bug: Text not being entered correctly in the search bar on Android (Samsung) IME
Description
In the Android (Samsung) environment, while typing on the keyboard, an issue occurs where letters are automatically deleted after entering 2–3 characters, even though the backspace button has not been pressed. This issue happens consistently across all websites that use DocSearch, including the official documentation for DocSearch, Babel, React, and etc.
[!IMPORTANT]
But it works well in 'Windows Chrome', 'Windows Edge', and 'Android Samsung Internet'.
This bug only happens in 'Android Chrome'.
The specifications of the mobile device I am currently using are as follows:
- OS: Android 14
- Device: Galaxy S21 (SM-G991N Build/up1A.231005.007)
- Browser: Chrome 131.0.6778.40
Please see the videos below. It's the dev environment of the DocSearch repository.
https://github.com/user-attachments/assets/db5626a7-01b1-40ba-9680-cbd665bacd00
Steps to reproduce
- Go to 'search bar'.
- Click on 'search input'.
- Type some alphabets.
- See error.
Live reproduction:
This bug only occurs in the Android environment. You can reproduce it by simply running yarn playground:start and typing some words in the search bar. It happens across the entire DocSearch environment, and I believe it's quite a critical issue.
Expected behavior
When typing, the letters should be entered correctly without being automatically deleted.
Environment
- OS: Android 14
- Device: Galaxy S21 (SM-G991N Build/up1A.231005.007)
- Browser: Chrome 131.0.6778.40
- DocSearch version:
3.8.0(latest)
Please let me know if you need more context.
Thank you for the report. Obviously it is happening to you (thanks for the video) but just to provide additional input/observations on this, I'm not seeing any other reports coming in so far. I just tried a few of the DocSearch sites on my Google Pixel 7 (Android) with Chrome and not seeing issues either. I'll continue to be on the lookout however!
Hello, @randombeeper. Thank you for reviewing this issue.
I’ve tested the results across four different Samsung devices, and all of them show the same behavior. Based on this, I believe the bug occurs specifically on Samsung devices. It would be best to test this issue using the latest Samsung models.
Here is the list of devices I used for testing:
- Samsung Galaxy S21
- Samsung Galaxy S23 Ultra
- Samsung Galaxy Tab S6
- Samsung Galaxy Tab S7
Additionally, while I’m not entirely certain, I suspect the issue might be related to the IME (Input Method Editor) on Samsung devices.
I found that it works fine in FireFox. This issue only occurs in Chromium-based browsers.