ListingTable onRowClick reacts to "mousedown", not "click"
See original GitHub issueAs @redallen explained:
Looks like this was a hack added in #1227 for inline editing. @suomiy said here:
inline edit needs input events. I can send back computedData which are a bit easier to consume and leave the decision logic on consumer. IMO this is the best what can be done. Does somebody have a better idea?
If inline-edit-extension works with changing the event we can convert it to onClick
.
So, however the however the hack was introduced to make inline-edit-extension work i think it’s erally obscure behavior for normal row clicks to react on mousedown.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Storage ListingTable onRowClick reacts to "mousedown", not ...
When clicking on a row in the Filesystems table in the Storage page, navigation happens already on the mousedown event, not on a...
Read more >React OnMouseDown event is not working whereas ...
class Hello extends React.Component { onDown() { console.log("Down"); } onClick() { console.log("Click"); } render() { return ( <div> <svg > ...
Read more >Mouse events - The Modern JavaScript Tutorial
Mouse event types. We've already seen some of these events: mousedown/mouseup: Mouse button is clicked/released over an element.
Read more >.mousedown() | jQuery API Documentation
The mousedown event is sent when any mouse button is clicked. To act only on specific buttons, we can use the event object's...
Read more >React Mouse Events — Clicking, Dragging and Dropping, with ...
Here's one way you might use events in React: This is mine, but I hope it's generic. Idiosyncrasy is not a code goal....
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
Yes, I confirm it’s fixed.
@KKoukiou I wanted to check if this is still an issue - given that the
onmousedown
listener has been replaced with anonclick
here.It was a change made as a part of this PR