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

rangy.saveSelection() with placeholder text crashes IE11 #14

Open
davetodd opened this issue Mar 15, 2014 · 1 comment
Open

rangy.saveSelection() with placeholder text crashes IE11 #14

davetodd opened this issue Mar 15, 2014 · 1 comment

Comments

@davetodd
Copy link
Contributor

If you have an editor in IE11 that has placeholder text (via the placeholder attribute), then the browser will crash when a field is first focused.

The crash happens in rangy, when nativeSelection.removeAllRanges() is called. This is called by rangy.saveSelection() from within TextArea.js in the startPollingForValueChange function.

@chriskwan
Copy link
Contributor

See if upgrading rangy fixes this issue or if IE11 has been patched since this was filed.

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