-
-
Notifications
You must be signed in to change notification settings - Fork 126
Releases: LegendApp/legend-list
Releases · LegendApp/legend-list
v3.0.6
- Fix: KeyboardAwareLegendList now accounts for bottom insets when alignItemsAtEnd is used, so short chat-style lists stay pinned above the keyboard or safe area instead of being pushed too low or leaving extra scroll space.
Assets 2
6 people reacted
v3.0.5
- Fix: clearCaches now rechecks the rows that are already on screen, so resetting the size cache does not leave items stuck in old positions.
- Perf: Scrolling through content that is already rendered now updates viewability with less work.
- Perf: Trimmed repeated work during scrolls, especially around recycled containers, sticky headers, size checks, and viewability.
- Perf: Large and fast scrolls now reuse more of the same scroll state instead of recalculating it in multiple places.
Assets 2
5 people reacted
v3.0.4
- Fix: scrollToEnd now waits for newly committed data before targeting the final item, improving chat-style append-and-scroll flows.
- Fix: Anchored end space waits for measured or fixed tail sizes before reporting readiness, avoiding stale end-space values during append flows.
- Feat: Add anchoredEndSpace.onReady to notify when the anchored tail has authoritative sizing.
Assets 2
6 people reacted
v3.0.3
- Fix: MVCP was getting batched to improve big jumps, but was making scroll worse
- Fix: On native, ignore one-physical-pixel layout measurement noise, preventing unnecessary item size updates from Fabric and native onLayout rounding differences.
- Fix: Average item sizes update correctly when getFixedItemSize returns undefined for only some item types.
Assets 2
3 people reacted
v3.0.2
- Fix: Using viewability was causing scrolling to end to sometimes not update items in view if the JS thread was slammed
Assets 2
2 people reacted
v3.0.1
- Feat: SectionList now supports getFixedItemSize for items, headers, footers, and separators.
- Fix: Non-animated scrollTo calls now precompute the target range before scrolling, preventing temporary blank content around the destination.
- Fix: scrollToIndex was landing at the wrong location on iOS in some scenarios
Assets 2
4 people reacted
v3.0.0
- Feat: Web support
- Breaking: Some of the maintainVisibleContentPosition behavior for preventing jumping while scrolling is now core behavior, and the behavior for maintaining scroll position when adding data is controlled by the prop, which is now disabled by default.
- See https://legendapp.com/open-source/list/v3/migration/
Assets 2
25 people reacted
v2.0.19
- Fix: Add safety checks for getItemType, getEstimatedItemSize, getFixedItemSize, and keyExtractor to prevent calling when index is out of range
- Fix: Error with animatedProps in reanimated integration
Assets 2
4 people reacted
v2.0.18
- Improvement: KeyboardAvoidingLegendList now supports KeyboardGestureArea with improved interactive behavior
Assets 2
4 people reacted
v2.0.17
- Feat: Add stickyHeaderOffset property to control sticky header positioning
- Feat: Add sticky header backdrop component support
- Fix: Improve KeyboardAvoidingLegendList quality by using animated contentOffset y instead of reanimated scrollTo
- Fix: Initial scroll could sometimes be out of range beyond the ScrollView if some items are much larger than the estimated size
- Fix: Item layout updates now work correctly when container is the exact same size as previous item on old arch
Assets 2
1 person reacted