Closed vineettadakamalla closed 8 months ago
@aldabil21 - I appreciate the quick responses. I will remove the spread {...props}
Sorry to reopen the issue, I was still able to drag it in the sandbox example.
It is not apparent at first, but if you long press on the event, it becomes draggable. Here is a screenshot of me dragging it and it throws an error after dragging though.
I took more time to check this. There is no dragging issue within the eventItem it self. Event item is not draggable. But you can long press and drag the entire row or multiple cells togather, which may cause this issue.
This is a different kind of a bug, not related to your issue. I will see how can I fix this
Check version 2.8.2
props.draggable = false
, then you also spread the{...props}
. This will override it.props
Here is your example event in a snadbox: https://codesandbox.io/p/sandbox/standard-forked-slkl8m?file=%2Fsrc%2FApp.js
Originally posted by @aldabil21 in https://github.com/aldabil21/react-scheduler/issues/297#issuecomment-1896253636