eclipsesource / eclipsesource/tabris-js
preventDefault on beforeTextChange event can block all input
Open
android
bug
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Description
### Problem description
On Android when calling preventDefault on the beforeTextChange event object causes not just the current key press but all following to not be printed.
### Expected behavior
Block only the input for which preventDefault was called.
### Environment
- Tabris.js version: 3.7.1
- Device: OnePlus 7 Pro
- OS: Android 10
### Code snippet
https://github.com/eclipsesource/tabris-js/blob/master/snippets/textinput-validation.ts
Contributor guide
Assessment
This issue has not been assessed yet.