Repository navigation
Remove IE8-specific focus polyfill - #11800
Merged
Merged
Conversation
aweary
approved these changes
Dec 7, 2017
Contributor
|
does this get called with svg elements? We've had issues in the past with versions of IE not having focus methods |
Contributor
|
looks like its just inputs getting hit here :P so probably gtg |
gaearon
pushed a commit
that referenced
this pull request
Jun 11, 2018
mrizwanashiq
pushed a commit
to mrizwanashiq/react
that referenced
this pull request
Jun 25, 2026
mrizwanashiq
pushed a commit
to mrizwanashiq/react
that referenced
this pull request
Jun 25, 2026
* revert react#11800 because react#12763 * use try/catch for SVG in IE11 * use focusNode(element) when element.focus isn't a function. * revert react#11800
hanzo-dev
pushed a commit
to hanzoai/react
that referenced
this pull request
Sep 9, 2026
hanzo-dev
pushed a commit
to hanzoai/react
that referenced
this pull request
Sep 9, 2026
* revert react#11800 because react#12763 * use try/catch for SVG in IE11 * use focusNode(element) when element.focus isn't a function. * revert react#11800
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It looked like this:
We know it's definitely a node because we previously checked
containsNodeondocument.documentElementwith it.So this should always be safe to call now.