Skip to content

WIP: mobile thread legend list#29023

Open
chrisnojima wants to merge 26 commits intonojima/HOTPOT-next-670-cleanfrom
nojima/HOTPOT-mobile-thread-legend
Open

WIP: mobile thread legend list#29023
chrisnojima wants to merge 26 commits intonojima/HOTPOT-next-670-cleanfrom
nojima/HOTPOT-mobile-thread-legend

Conversation

@chrisnojima
Copy link
Contributor

  • pull avatar into message

chrisnojima and others added 26 commits March 17, 2026 09:56
…ignItemsAtEnd)

Switches index.native.tsx to use LegendList directly with chronological data
order and alignItemsAtEnd/initialScrollAtEnd instead of inverted+reversed array.
Replaces onViewableItemsChanged scroll-load trigger with onStartReached.
Use messageTypeMap as extraData so LegendList re-renders naturally when
placeholder messages resolve, eliminating the manual redraw counter.
Enable recycleItems for better list performance.
Add STABLE_ANCHOR_ORDINAL (-3) at list index 0 so maintainVisibleContentPosition
anchors to a fixed 1px item instead of SPECIAL_TOP_ORDINAL, whose dynamic height
changes were corrupting LegendList's offset compensation. Also set estimatedItemSize=80
for better prepend scroll-offset baseline.
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.

2 participants