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

Only restore selection if editor has focus #312

Merged
merged 1 commit into from Feb 15, 2018
Merged

Only restore selection if editor has focus #312

merged 1 commit into from Feb 15, 2018

Conversation

MattKunze
Copy link
Contributor

in setEditorContents. Prevents component from stealing focus if content changes when the editor isn't focused

Doesn't look like the current test suite covers focus behavior in any way, but the existing tests pass with these changes

in `setEditorContents`. Prevents component from stealing focus if content changes when the editor isn't focused
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

Successfully merging this pull request may close these issues.

None yet

2 participants