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

Uncaught InvalidStateError: Failed to execute 'setSelectionRange' on 'HTMLInputElement': The input element's type ('number') does not support selection. #131

Open
mrdulin opened this issue Jan 19, 2018 · 2 comments

Comments

@mrdulin
Copy link

mrdulin commented Jan 19, 2018

image

Uncaught InvalidStateError: Failed to execute 'setSelectionRange' on 'HTMLInputElement': The input element's type ('number') does not support selection.

"react-lite": "^0.15.38",
"fastclick": "^1.0.6",

google chrome: 63.0.3239.132, set toggle device toolbar on

related issue: ftlabs/fastclick#358

It's probably an issue for fastclick, but it affects src/react-lite/lib/react-tap-event-plugin.js

@Lucifier129
Copy link
Owner

It seems like this is not a problem with react-lite, I have no idea what can we do.

@mrdulin
Copy link
Author

mrdulin commented Jan 19, 2018

@Lucifier129 Yeah, but react-lite/lib/react-tap-event-plugin.js use fastclick, it's a fastclick issue.
Use react-tap-event-plugin, the error gone.

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