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

ng2(x)-currency-mask doesn't work on android web view. #122

Open
wangshu3000 opened this issue Nov 1, 2018 · 1 comment
Open

ng2(x)-currency-mask doesn't work on android web view. #122

wangshu3000 opened this issue Nov 1, 2018 · 1 comment

Comments

@wangshu3000
Copy link

wangshu3000 commented Nov 1, 2018

We used currency mask, but it doesn't work well on android Oreo web view.
User can input any characters, but it can not be formatted, looks like the event (like keyPress) couldn't be triggered on web view.
On web view, onInput event would work.
We have enabled JS for webview.

We found a solution to fix it form android side. But we should also be able to fix it from ngx-mask side.
https://stackoverflow.com/questions/45312553/android-webview-html-input-keypress-doesnt-fire
It works well on all other platform, ios, ff, chrome, safari, IE, or chrome on android. Only not work on android WEB VIEW.

@ivofernandes
Copy link
Contributor

Check if this fixes your bug :)
#150

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

2 participants