espin-tolosa/calendar-ts

Hidde event source while dragging an event

Opened this issue · 0 comments

Hide in css the event-component on dragging would help user to focus on what the are doing. This is better alternative than remove the entry from the state as it would involve to lose dragging references, so the API won't be able to catch onDragEnd event coming from that component. The context variable isDragging will be used to decide whether or not a component it is currently dragging. So there is a possibility to move isDragging from context to internal component state, but it won't work properly as each component belongs to a family which is spread over the entire document, they are called event extensions.