You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The common-props reference page is providing invalid description for onFocus DOM prop
Actual Behaviour:
Expected Behaviour:
onFocus method is fired only when the element receives or enters focus not lose focus.
So the description should look like the following
onFocus: A FocusEvent handler function. Fires when an element receives focus. Unlike the built-in browser focus event, in React the onFocus event bubbles.
Also I can make the PR for it, if the issue is verified.