Bug: onPointerEnterCapture and onPointerLeaveCapture result in `unknown event handler property`
See original GitHub issueReact version: v16.12.0 from https://unpkg.com/react/umd/react.development.js
Steps To Reproduce
- attach onPointerEnterCapture to a JSX element
- observe
unknown event handler property
error in console
Link to code example: https://jsfiddle.net/tommedema/1uqoemxs/2/
The current behavior
It displays a unknown event handler property
warning
The expected behavior
The capturing phase of the onPointerEnter and onPointerLeave events should be supported
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Warning: Unknown event handler property `onHeaderClick`. It ...
Events are working, but I am getting error in chrome devTool (i.e. Warning: Unknown event handler property onTableCheckBoxSelection .
Read more >React Higher Order Components (HOC) - Unknown Event ...
Recently I've been playing with React, and one of the specific techniques is the Higher Order Components. In this case I created a...
Read more >API - React Select
A flexible and beautiful Select Input control for ReactJS with multiselect, autocomplete and ajax support.
Read more >types/react definitions - UNPKG
Props<T> is now deprecated, which means that the `children` // property is ... This might be a child element to the element on...
Read more >IHTMLSelectProps - JupyterLab Documentation
Properties. Optional about. about: string. Inherited from React.SelectHTMLAttributes.about. Defined in node_modules/@types/react/index.d.ts:1846 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It’s the same as the mouse event equivalents, they don’t bubble and don’t have a capture phase: https://reactjs.org/docs/events.html#mouse-events. You should use
onPointerOver/Out
instead.@tommedema are you sure this event exist? Can you send a link to ECMA specification?