You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d3f8990
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(mobile): lists use LegendList, FlatList is a restricted import
FlatList skipped require-registered-list-scroll and called renderScrollComponent
as a plain function from a class render, outside the hooks NativeScrollView uses.
Every mobile list now renders through LegendList, screen lists register with the
header, and each list passes what its renderItem reads through extraData, since
LegendList re-renders a row only when its item or extraData changes.
The source viewer drops its VirtualizedList retry loop for jumps to unmeasured
wrapped lines: LegendList's scrollToIndex lands on them directly.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
// Layout effect so a pending jump is cancelled in the commit that swaps the file.
286
-
// oxlint-disable-next-line t3code/no-unreasoned-state-sync -- scrolls the FlatList to the target line and cancels a pending jump when the file changes
285
+
// oxlint-disable-next-line t3code/no-unreasoned-state-sync -- scrolls the list to the target line and cancels a pending jump when the file changes
// oxlint-disable-next-line react/exhaustive-effect-dependencies -- Opening another file at the same line index, or leaving selection mode, scrolls the remounted list to it.
0 commit comments