-
-
Notifications
You must be signed in to change notification settings - Fork 2k
TypeScript JSX focus events don't have consistent case #4289
Copy link
Copy link
Closed
Labels
Description
The focus events don't have consistent casing in their names with respect to other event attribtes:
Lines 1563 to 1571 in a003d42
| // Focus Events | |
| onFocus?: FocusEventHandler<Target> | undefined; | |
| onFocusCapture?: FocusEventHandler<Target> | undefined; | |
| onfocusin?: FocusEventHandler<Target> | undefined; | |
| onfocusinCapture?: FocusEventHandler<Target> | undefined; | |
| onfocusout?: FocusEventHandler<Target> | undefined; | |
| onfocusoutCapture?: FocusEventHandler<Target> | undefined; | |
| onBlur?: FocusEventHandler<Target> | undefined; | |
| onBlurCapture?: FocusEventHandler<Target> | undefined; |
The four in question should probably be onFocusIn, onFocusInCapture, onFocusOut, and onFocusOutCapture.
Reactions are currently unavailable