subj http://www.w3schools.com/jsref/event_onfocusin.asp http://www.w3schools.com/jsref/event_onfocusout.asp
Activity
mxstbr commentedon Feb 18, 2016
@jimfb this might be something I could look into! What about adding
focusInandfocusOutto theSimpleEventsPluginnext tofocus?jimfb commentedon Feb 18, 2016
I haven't looked at it, but that sounds reasonable to me.
mxstbr commentedon Feb 18, 2016
These two are added for IE support of
onFocusandonBlur– should I still add them as seperate events or is it fine as-is? https://github.com/facebook/react/blob/master/src/renderers/dom/client/ReactBrowserEventEmitter.js#L297-L310jimfb commentedon Mar 16, 2016
Fixed via #6226
gaearon commentedon Mar 16, 2016
As discussed in #6226 and as @mxstbr noted above, adding them explicitly probably wasn’t the right call after all.
We already support
onFocusandonBlurin a cross-browser way, and we should tell people to use them instead. Internally they already usefocusinandfocusouton IE which implements the bubbling behavior.We should probably consider adding a warning that tells you to use
onFocusif you attempt to defineonFocusIn.