-
Notifications
You must be signed in to change notification settings - Fork 495
Description
Lanes should be draggable on an individual basis. We want to make the first lane fixed and not draggable while the others can be dragged. It should be fixed so that dragging other lanes over it doesn't change its position. Looking at handleLaneDragStart
and handleLaneDragEnd
there is no event passed back to do something like an e.preventDefault
We have also tried to toggle the laneDraggable property using a boolean (setting it inside handleLaneDragStart if laneId references lane which shouldn't be draggable) but to no avail.
I've looked at the BoardContainer class and the following line needs to be updated:
return draggable && laneDraggable ? <Draggable key={lane.id}>{laneToRender}</Draggable> : <span key={lane.id}>{laneToRender}</span>
Perhaps we can pass in a separate flag for each lane (e.g. allowDrag) and pass that into the ternary statement.