Skip to content

Add items that are not calculated in group height #636

@eeliinaa

Description

@eeliinaa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions