EventResizeProps
Provides granular configuration for the Scheduler event resize behavior. Allows fine-tuned control over how events can be resized, including snapping intervals, directional constraints, and automatic scrolling during resize operations.
Props
The following table outlines the props for the EventResizeProps:
| Name | Type | Default | Description |
|---|---|---|---|
| enable | boolean | true | Enables or disables the ability to resize events throughout the scheduler. When disabled, resize handles are hidden and event durations cannot be modified. |
| endResizable | boolean | true | Enables or disables the ability to drag the end edge of an event to change its end time. When disabled, the end time cannot be modified through resizing. |
| interval | number | Derived from timeScale configuration | Specifies the snapping granularity in minutes while resizing events (e.g., 15 for 15-minute increments). When not specified, defaults to the timeScale interval divided by slotCount for optimal alignment. |
| resizeToZero | boolean | false | When enabled, allows events to be resized to zero duration (start time equals end time). When disabled, the minimum event duration is enforced as one interval unit to prevent invalid states. |
| scroll | - | Configures auto-scroll behavior when the user drags a resize handle near the viewport edges. Enables continuous scrolling to allow extending events beyond the visible area. | |
| startResizable | boolean | true | Enables or disables the ability to drag the start edge of an event to change its start time. When disabled, the start time cannot be modified through resizing. |