Skip to content

IE-fix: don't blur if document.activeElement is menuDOM#539

Merged
JedWatson merged 1 commit intoJedWatson:masterfrom
petetnt:petetnt/ie10-11-blur-fix
Oct 27, 2015
Merged

IE-fix: don't blur if document.activeElement is menuDOM#539
JedWatson merged 1 commit intoJedWatson:masterfrom
petetnt:petetnt/ie10-11-blur-fix

Conversation

@petetnt
Copy link
Contributor

@petetnt petetnt commented Oct 26, 2015

Fixes #495.

Still missing a test though: took multiple different stabs to simulate the situation #495 creates when the scrollbar is clicked (menuDOM is the document.activeElement) in a testable fashion, but couldn't find anything (at least yet) that would actually test that behavior.

Any ideas for the test? The other tests pass just fine.

@JedWatson
Copy link
Owner

I'm happy to merge this and get the fix out quickly, then circle back for the test. @bruderstein might have an idea on how to approach it.

JedWatson added a commit that referenced this pull request Oct 27, 2015
IE-fix: don't blur if document.activeElement is menuDOM
@JedWatson JedWatson merged commit dd9a364 into JedWatson:master Oct 27, 2015
@JedWatson
Copy link
Owner

Thanks for this fix, by the way!

@petetnt
Copy link
Contributor Author

petetnt commented Oct 27, 2015

Cool 👍

@petetnt petetnt deleted the petetnt/ie10-11-blur-fix branch October 27, 2015 05:47
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.

2 participants