data.onclick is not firing when cursor changed
See original GitHub issueDescription
data.onclick
is not firing when the cursor(pointer) changed.
Steps to check or reproduce
When I clicked the blue circle position the above, both changes cursor of chart but only the second blue circle fire data.onclick
.
It doesn’t make sense that cursor and onclick
don’t work together in same condition.
Or please let me know if there’s another event listener I can use in this case.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Click event is not firing for element which changes position ...
When an element has onFocus event handler, which changes the element's position, the onClick event handler is not firing.
Read more >Handling Events :: Eloquent JavaScript
Event listeners are called only when the event happens in the context of the object they are registered on. <button>Click me</button> <p>No handler...
Read more >Mouse events - The Modern JavaScript Tutorial
For instance, a left-button click first triggers mousedown , when the button is pressed, then mouseup and click when it's released. In cases ......
Read more >Button events | Decentraland Documentation
Decentraland accepts events from pointer clicks, a primary button and a ... the cursor changes shape to hint to the player that the...
Read more >SyntheticEvent - React
The specific mapping is not part of the public API and may change at any time. ... The event handlers below are triggered...
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 FreeTop 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
Top GitHub Comments
@softage0, it might better use as:
Thanks a lot, @netil.
I got all the solutions I needed.
I left my codes for the next person who has a similar issue to me: