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

selection-change is not fired for "blur" #664

Closed
jbrowning opened this issue May 13, 2016 · 1 comment
Closed

selection-change is not fired for "blur" #664

jbrowning opened this issue May 13, 2016 · 1 comment

Comments

@jbrowning
Copy link

Clicking outside of a focused Quill editor does not trigger a "selection-change" event.

Steps for Reproduction

  1. Visit https://jsfiddle.net/jeffb/cpneefcx/
  2. Focus the editor (note the alert and console log)
  3. Click anywhere outside the editor

Expected behavior: A "selection-change" event should be emitted and an alert should be displayed. You can see this expected behavior in action for 0.20.1 here.

Actual behavior: No "selection-change" event is emitted.

Platforms: Chrome 50.0.2661.102 (64-bit) on MacOS 10.11.4

Version: 1.0.0-beta.1

@jbrowning
Copy link
Author

Also noticed (might be related), "selection-change" does not fire when re-focusing the editor and placing the cursor where it was before. Again, different behavior in 0.20.1.

@jhchen jhchen closed this as completed in 41157c8 May 14, 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