You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This API would give you control to add custom UI on calendar rows using a render prop. You can control what is rendered by default with the library like Items and Vertical/Horizontal lines, and the renderer will provide you the ability to render custom backgrounds and droppable layers for custom dnd.
Helpers are methods provided by `HelperContext`. These helpers power most of the rendered UI in the timeline like: Headers, Markers, Items and row renderers.
30
+
31
+
### breaking changes
32
+
33
+
-`onItemMove`
34
+
35
+
changed from `onItemMove(itemId, dragTime, newGroupOrder)` to `onItemMove(itemId, dragTime, newGroupId)`. Now you will be provided with a new group id instead of new group order
36
+
37
+
-`onItemDrag`
38
+
39
+
changed from providing `newGroupOrder` to `newGroupId`. Now you will be provided with a new group id instead of new group order
40
+
41
+
- saving state in `Item` using `itemRenderer`
42
+
43
+
if you render a stateful component via `itemRenderer` then the state will be lost because item will unmount in some cases
44
+
45
+
- You need to do `e.stopPropagation()` for all callbacks passed to `itemRenderer`
46
+
47
+
10
48
## 0.26.6
11
49
12
50
* fix `visibleTimeStart`, `visibleTimeEnd` and `onTimeChange` not working as expected in controlled mode @ilaiwi
0 commit comments