Clicking a `grid-item`'s `draggableHandle` doesn't trigger `onDragStop` when click is released
See original GitHub issueExactly as the title says. If you just click a grid-items draggableHandle, it won’t trigger onDragStop because it’s only a click, and not a drag. But it does in fact trigger onDragStart. So if you disable rendering while moving/resizing, for example, the rendering is disabled… and stays disabled.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:7
Top Results From Across the Web
`onDragStart` triggered on item click but `onDragEnd` Doesn't
A click on an item (not an actual drag) would trigger onDragStart but ... to a drag handle, such that clicking on the...
Read more >Draggable: HTML click event not triggering onClick handler
It sets up a Draggable with an `onClick` listener which should turn the square blue when it is clicked. You can try this...
Read more >React, How to prevent execution of click event after drag?
I have Draggable element and inside of it, I have a component with onClick event. At the end of the drag, the click...
Read more >Change Log for Releases - ag-Grid
ag-Grid is a feature-rich datagrid available in Free or Enterprise versions. This page lists all the Changes completed in recent releases.
Read more >drag and drop / reordering in Kendo UI for jQuery - Telerik
I need a way of changing the order of rows in a grid and updating the ... It doesn't work perfectly... if I...
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

onDragStop is not working at all
If anyone is still stuck on this and waiting for a workaround, I found that
onDraginsead ofonDragStartonly fires on an actual drag, meaning using it in conjunction withonDragEndwill always work as expected. However as expected it does repeatedly fire while dragging and so might not be suitable for every problem, but for me where I’m just making sure some localisDraggingstate is correct, it works fine.