Jay Meistrich
|
f85ed07f80
|
Version 2.0.12
v2.0.12
|
2025-10-11 21:04:59 +02:00 |
|
Jay Meistrich
|
cba65726d3
|
put back expensive card rendering
|
2025-10-11 19:15:07 +02:00 |
|
Jay Meistrich
|
41ddb44185
|
move example filter-data-provider to fix warnings
|
2025-10-11 19:14:59 +02:00 |
|
Jay Meistrich
|
f1759ea929
|
fix tests for latest changes
|
2025-10-11 17:32:35 +02:00 |
|
Jay Meistrich
|
1ca9f2ca6d
|
fix: onScroll while scrolling was updating positions without doMVCP, which was breaking MVCP calculations
|
2025-10-11 16:32:48 +02:00 |
|
Jay Meistrich
|
e2092240df
|
a workaround for screen layouts shifting because of router headre
|
2025-10-11 16:28:36 +02:00 |
|
Jay Meistrich
|
bbdcda3120
|
increase variability of cards sizes for better testing
|
2025-10-11 14:59:32 +02:00 |
|
Jay Meistrich
|
0393e8ba56
|
fix: scroll velocity calculation was sometimes incorrect when item sizes were very different from estimate
|
2025-10-11 13:56:55 +02:00 |
|
Jay Meistrich
|
735e6d6169
|
refactor: remove unused variables
|
2025-10-11 13:55:09 +02:00 |
|
Jay Meistrich
|
984dbfba9a
|
add a prebuild script to verify that all .tsx files import React
|
2025-10-06 13:56:47 +02:00 |
|
Jay Meistrich
|
da650479a4
|
Version 2.0.11
v2.0.11
|
2025-10-06 13:40:38 +02:00 |
|
Jay Meistrich
|
b9ad6a8481
|
fix: a file was not importing React
|
2025-10-06 13:38:43 +02:00 |
|
Jay Meistrich
|
c03764738a
|
Version 2.0.10
v2.0.10
|
2025-10-06 12:50:01 +02:00 |
|
Jay Meistrich
|
5645420c87
|
adjust perf test
|
2025-10-06 12:47:52 +02:00 |
|
Jay Meistrich
|
c50a9cf805
|
chore: update packages
|
2025-10-06 12:47:28 +02:00 |
|
 Jay MeistrichandGitHub
|
6faa9ecad5
|
Merge pull request #303 from GollyJer/work/on-sticky-header-change
|
2025-10-06 11:53:30 +02:00 |
|
Jay Meistrich
|
d8c08a4672
|
refactor currentStickyIdx to be calculated once at the beginning of calculateItemsInView and fire onStickyHeaderChange at the end, add tests for it
|
2025-10-06 11:51:03 +02:00 |
|
 Jeremy GollehonandJay Meistrich
|
272a717dc8
|
feat: add onStickyHeaderChange callback for sticky headers
- Add onStickyHeaderChange prop to LegendListSpecificProps interface
- Extract and pass onStickyHeaderChange prop in LegendList component
- Implement sticky header change detection in calculateItemsInView
- Callback provides { index, item } when active sticky header changes
|
2025-10-06 11:49:17 +02:00 |
|
Jay Meistrich
|
0dd95c15b7
|
fix: items with a falsy value like 0 were not rendering, which was breaking a use case of items being array indices
|
2025-10-06 11:25:46 +02:00 |
|
Jay Meistrich
|
b0f48bfac4
|
perf: remove checking indexByKey.has because it shouldn't be possible and it's worse for perf
|
2025-10-05 23:37:06 +02:00 |
|
Jay Meistrich
|
420200992f
|
fix: updateItemsPositions was not breaking early sometimes
|
2025-10-05 23:37:00 +02:00 |
|
Jay Meistrich
|
7ab26f00ac
|
perf: change idCache to be an array instead of a Map because the keys are numbers so it has better performance
|
2025-10-05 23:36:54 +02:00 |
|
Jay Meistrich
|
c4c7b87e9a
|
change tests to use single createMockState and createMockContext functions
|
2025-10-05 17:28:23 +02:00 |
|
Jay Meistrich
|
b914ebf8e3
|
fix sometimes not setting indexByKey
|
2025-10-05 16:08:57 +02:00 |
|
Jay Meistrich
|
cde035819e
|
refactor: remove usage of LeanView
|
2025-10-05 15:56:43 +02:00 |
|
Jay Meistrich
|
baab23e631
|
fix misc possible bugs
|
2025-10-05 15:54:53 +02:00 |
|
Jay Meistrich
|
49b47cb1db
|
refactor: replace duplicate usage of useLayoutEffect and measure with a single hook
|
2025-10-05 15:53:04 +02:00 |
|
Jay Meistrich
|
e0d2770e98
|
remove unneeded effect
|
2025-10-05 15:16:02 +02:00 |
|
Jay Meistrich
|
0ab8de9606
|
Merge branch 'perf13'
|
2025-10-05 15:07:15 +02:00 |
|
Jay Meistrich
|
13094873fa
|
fix: cleanup prepareColumnStartState, fix types in tests
|
2025-10-05 14:22:04 +02:00 |
|
Jay Meistrich
|
9bf1fc39ac
|
fix: column positions not calculating correctly
|
2025-10-05 14:22:04 +02:00 |
|
Jay Meistrich
|
1fdf0f722a
|
fix: containerStickyOffset doesn't need to be an Animated.Value
|
2025-10-05 14:22:02 +02:00 |
|
Jay Meistrich
|
f5b74e2057
|
chore: ignore error from FlashList on old arch
|
2025-10-05 14:21:23 +02:00 |
|
Jay Meistrich
|
cffd22bff4
|
fix tests
|
2025-10-05 14:21:23 +02:00 |
|
Jay Meistrich
|
bf86f842e3
|
fix: possible issue where it wasn't calling setCanRender if a size didn't change
|
2025-10-05 14:21:23 +02:00 |
|
Jay Meistrich
|
8144467666
|
fix tests
|
2025-10-05 14:21:23 +02:00 |
|
Jay Meistrich
|
ec863c7f56
|
fix: recycle containers when sticky indices shrink
|
2025-10-05 14:21:23 +02:00 |
|
Jay Meistrich
|
df09edfcba
|
fix: persist container layout detection
|
2025-10-05 14:21:23 +02:00 |
|
Jay Meistrich
|
424d487bdc
|
perf: speed up container reuse lookups
|
2025-10-05 14:21:23 +02:00 |
|
Jay Meistrich
|
e0ff825538
|
fix: sample average size during initial allocation
|
2025-10-04 14:35:52 +02:00 |
|
Jay Meistrich
|
09211e4111
|
add AGENTS.md
|
2025-10-04 14:35:26 +02:00 |
|
Jay Meistrich
|
03acbf377a
|
Version 2.0.9
v2.0.5
v2.0.6
v2.0.7
v2.0.8
v2.0.9
|
2025-09-29 12:19:11 +02:00 |
|
Jay Meistrich
|
69522f186f
|
Merge branch 'fix-initialScrollIndex'
|
2025-09-28 23:30:22 +02:00 |
|
Jay Meistrich
|
41a22dd22b
|
fix: improve initialScrollIndex
|
2025-09-28 23:29:39 +02:00 |
|
Jay Meistrich
|
e7efc5db2b
|
chore: add repro of scroll at end bug
|
2025-09-28 23:29:08 +02:00 |
|
Jay Meistrich
|
6fe514cd78
|
fix: ScrollAdjustHandler sometimes had incorrect values if multiple came in a frame before containersDidLayout
|
2025-09-28 23:28:39 +02:00 |
|
Jay Meistrich
|
473463d828
|
fix types
|
2025-09-28 23:02:13 +02:00 |
|
Jay Meistrich
|
c839edd263
|
move internal state onto the context to fix web strictmode as well as make it accessible from child components
|
2025-09-28 23:02:07 +02:00 |
|
Jay Meistrich
|
b6581a7cec
|
fix: initial offset should just set state.scrollingTo, doing a scrollTo was causing problems
|
2025-09-27 12:39:59 +02:00 |
|
Jay Meistrich
|
3d0b67b807
|
refactor
|
2025-09-27 12:33:15 +02:00 |
|