3.2.0
Added 2
- Add fine-grained control over card content alignment with horizontal and vertical options
- Add auto card height feature to automatically size cards based on content
Fixed 4
- Fix links, buttons, and form inputs not working inside timeline cards
- Fix array mutation bug causing items to be skipped during dynamic loading
- Fix timeline not updating correctly when using Array.map() to render children dynamically
- Verify hash-based comparison prevents circular structure errors with React components in content
From React Chrono
🐛 Bug Fixes
Interactive Elements (#490)
Fixed links, buttons, and form inputs not working inside timeline cards. Interactive elements now function correctly without triggering card selection.
Content Alignment (#431)
Added fine-grained control over card content alignment:
content={{ alignment: { horizontal: 'center', vertical: 'center' }}}
Dynamic Loading (#135)
Fixed array mutation bug causing items to be skipped during dynamic loading. All items now load correctly.
Array.map() Pattern (#291)
Timeline now correctly updates when using Array.map() to render children dynamically.
Circular JSON (#463)
Verified hash-based comparison prevents circular structure errors with React components in content.
✨ New Features
Auto Card Height (#498)
Cards can now automatically size based on content:
layout={{ cardHeight: 'auto' }}