-
Notifications
You must be signed in to change notification settings - Fork 681
Open
Labels
rowRenderermight solve the issuemight solve the issue
Description
I am using itemRenderer() to draw my items but some of them are not regular ones. Example you can see in codesandbox i provided. There are 4 item in total. 2 of them are regular (blue) and red & gray are custom sizes. As you can see in example there is way too big space on top of first blue item and it is there because timeline thinks that gray and red items are regular too but I don't want that. I would like timeline to use space only for 2 items in that row (blue ones).
I think you could add new prop like "backgroundItem" and if it is set then that item is not calculated in group height and has the same top (css) value as first regular item.
https://codesandbox.io/s/timeline-demo-sticky-header-us44d?fontsize=14
hckr, florinciubotariu, stahlmanDesign and joaocarlospf
Metadata
Metadata
Assignees
Labels
rowRenderermight solve the issuemight solve the issue