react-chrono
react-chrono copied to clipboard
Custom icons is getting messy with `allowDynamicUpdate={true}`
Describe the bug
Even when setting allowDynamicUpdate={true}, with custom icons - the view gets screwed at some point.
To Reproduce Steps to reproduce the behavior:
- Dynamically add new items to timeline with custom icons
- See icons order gets messy
Expected behavior Icons should be in the right order
Screenshots https://github.com/user-attachments/assets/89b596d1-49bc-4a6f-b663-05919abdd942
Additional Context The code is available here: https://github.com/keephq/keep/pull/2185/files#diff-405b9bca1d5fc5e600f96781227fb5d59f8abde4eb83d81fc7b4611fd74c07c9
Thank you for this awesome library btw!
@Kiryous helped me figure out it was just the missing id attribute (which is not documented anywhere :()