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

setSelection(null) results in error #722

Closed
sachinrekhi opened this issue Jun 2, 2016 · 0 comments
Closed

setSelection(null) results in error #722

sachinrekhi opened this issue Jun 2, 2016 · 0 comments

Comments

@sachinrekhi
Copy link
Contributor

quill.setSelection(null) is currently resulting in an error

Steps for Reproduction

  1. Visit beta.quilljs.com
  2. quill.setSelection(null)

Expected behavior:
Selection to be blurred without issue

Actual behavior:
See the following error in console:

quill.js:2229 Uncaught TypeError: Cannot read property 'index' of null(…)

Platforms:
Chrome 51 on Mac 10.11

Version:
Quill 1.0 Beta 3

@jhchen jhchen closed this as completed in 6e9abd6 Jun 3, 2016
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