Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

selection-change event not consistently emitted #1661

Closed
abramz opened this issue Aug 18, 2017 · 1 comment
Closed

selection-change event not consistently emitted #1661

abramz opened this issue Aug 18, 2017 · 1 comment

Comments

@abramz
Copy link

abramz commented Aug 18, 2017

Steps for Reproduction

  1. Visit this codepen
  2. Observe the text blured
  3. Focus the editor
  4. Observe the text change to focused
  5. Click outside of the editor
  6. Observe the text change to blured
  7. Focus the editor
  8. Click the button that says "CLICKING ME DOESN'T UNFOCUS"
  9. Observe that the cursor doesn't show up in the editor(meaning it was blured) but the text remains focused

Expected behavior:
As laid out here, clicking anywhere on the page outside of the editor should fire a selection-change event, this includes clicking other UI elements like buttons.

Actual behavior:
Clicking on a button does not fire the selection-change event

Platforms:

Chrome: Version 60.0.3112.101 (Official Build) (64-bit)
OS: macOS 10.12.6 (16G29)

Version:

1.3.1

@jhchen
Copy link
Member

jhchen commented Aug 28, 2017

Merging with #1397

@jhchen jhchen closed this as completed Aug 28, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants