Renders all-day events based on header data
Refactors all-day event rendering to use header column data. This ensures events are rendered based on the actual visible dates in the header, improving accuracy and responsiveness to view changes. Removes direct dependency on week dates in `AllDayManager` and `EventRenderingService`, instead, the all-day manager is instantiated with event manager. Updates `HeaderManager` to emit header bounds.
This commit is contained in:
parent
ae3aab5dd0
commit
d7867d4a9f
7 changed files with 108 additions and 157 deletions
|
|
@ -103,8 +103,6 @@ export interface DragColumnChangeEventPayload {
|
|||
|
||||
// Header ready event payload
|
||||
export interface HeaderReadyEventPayload {
|
||||
headerElement: HTMLElement;
|
||||
startDate: Date;
|
||||
endDate: Date;
|
||||
isNavigation?: boolean;
|
||||
headerElements: ColumnBounds[];
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue