Skip to content

Conversation

@YousefAslan
Copy link
Contributor

Summary

Fixes #977
Adds support for dynamic item sizing and improves vertical gap control in the timeline component.

Overview

Dynamic item height

This pull request introduces dynamic item height support in the timeline component. Each item can define its height, controlled at the item level through a new optional height prop.
The layout calculations, including group height, item positioning, and collision detection, have been updated to account for these per-item height values.

Consistent vertical gap

Additionally, itemVerticalGap timeline prop has been added to maintain consistent vertical spacing between items of varying heights, replacing the previous itemHeightRatio based gap logic for dynamic scenarios.

@Ilaiwi Ilaiwi merged commit 22e2730 into namespace-ee:master Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support dynamic item height

2 participants