현상
On Android with Samsung Keyboard, holding backspace key causes contenteditable editor to crash.
재현 예시
- Use Samsung Galaxy device with Samsung Keyboard.
- Open Chrome for Android.
- Type text in contenteditable editor (e.g., “Hello World”).
- Hold backspace key to delete characters.
관찰된 동작
- Editor crashes: Complete crash when backspace is held
- JavaScript stops: All script execution halts
- Page unresponsive: Browser doesn’t respond
- Samsung specific: Gboard, SwiftKey do NOT cause this crash
- Rate-related: Rapid backspace events trigger the crash
참고사항
This case demonstrates that Samsung Keyboard has a specific backspace handling bug that causes editor crashes, while other keyboards work correctly.
Workarounds recommended:
- Rate-limit backspace events
- Use try-catch error handling
- Debounce backspace handling
- Recommend alternative keyboards (Gboard, SwiftKey)