Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a config option to specify the deferred selection behavior #945

Open
sangmokh opened this issue Jun 21, 2019 · 0 comments
Open

Add a config option to specify the deferred selection behavior #945

sangmokh opened this issue Jun 21, 2019 · 0 comments

Comments

@sangmokh
Copy link

Background

  • When the text-mask set a range selection on Input Element, it uses a deferred selection behavior if navigator.userAgent value has 'Android'.
  • However, on a recent version of Android (e.g. Galaxy S9), the deferred selection behavior is unnecessary (if not undesirable). Also on some other OSes (e.g. Tizen), the deferred selection behavior is necessary for text selection to work properly.

Feature Request

  • Add a config option to specify the deferred selection behavior as needed to override the default behavior.
  • This change is backward-compatible. If deferredSelectionEnabled config option is not specified, the same deferred selection behavior as before should be used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant