This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index at /llms.txt, or add .md to any page's URL.

Lists and scrolling

•
On the web, a route scrolls the page only when it is its bar, its scroller and nothing else. A route the window shows alone scrolls the document with the scroller its bar follows, so the browser draws its scroll bar at the window's edge (on an iPhone Duo, outside the buttons Safari puts beside the page when closed or in Split View's right pane), Safari collapses its toolbars as the reader scrolls, and it shows HDR pictures, which it shows in standard range inside an inner scroller (LLP 1048.003 D4). That needs a route that fills the window and holds its header, any boxes between the header and the scroller (a filter or range bar, which stay under the bar), and one scroll that fills the rest. Any of these keeps the inner scroller, with its scroll bar inside Safari's buttons and pictures in standard range: a box below the scroller (a composer, a toolbar), a box placed absolutely in the route (place a floating control position="fixed" instead), a tab bar along the bottom, a written scrollTop, scrollFollowEnd, or a virtualized list. A scroll handler is fine: it hears the page's scrolls. (UI Gallery, 2026-11-30.)
•
On the web, Safari colors its toolbar from the route's bar, not from theme-color. Safari 26 and later ignore theme-color, and fill the strip under the toolbar with the background color of the one bar fixed across the window's top; nothing the page draws above the window's top shows there. A route that scrolls the page holds its header there, so an opaque header gives a toolbar of its color, in light and dark mode; write the header's background-color to choose it. In a split, the detail's bar colors the toolbar above both columns, so give the list's bar the same ground. A header with backgroundMaterial lets the page show through it and the toolbar alike. (UI Gallery on the iPhone Duo simulator, iOS 27.1, 2026-12-01.)
•
Bind both pinchrelease and wheel on a grid that changes columns, and keep column buttons for hosts where pinchrelease is silent (Android, Web, desktop). iOS and iPadOS deliver pinchrelease; a Mac or browser trackpad delivers a Control-held wheel.
•
A long text on iOS or macOS loses its kerning, ligatures and right-to-left order. A whole document in one text (an article, a long Markdown note) is one string to Core Text, and Core Text does not shape a string longer than a length it does not document: Arabic is unjoined and runs left to right, and Latin text is not kerned, so a line can break at another word. The length was 10,240 UTF-16 units on iOS 27.1 and macOS 27.2, and can change in any release. Give each paragraph or block its own text, and never split inside a paragraph (long text). (Duo Lab, 2026-11-12.) Candidate diagnostic: check could name a text whose string is that long.
•
A frame's cell count is not its stretched layout width. Giving the harness's animation rows a width of animCols cells changed fullscreen layout in a window narrower than the animation's minimum 20 cells. width="100%" preserved the stretched box, but adding it with height="1lh" did not reduce text measurement calls. Keep auto sizing unless the alternative is both behaviorally equivalent and measurably faster. Verified across animation frames and resizes, 2026-10-10.
•
A closed dialog still creates an eager for's rows. Hiding a dialog hides its presentation; an ordinary for still instantiates the children. For a large optional list, gate the rows with if, or use a supported list virtualized=true shape. The terminal now reports a closed dialog's virtual list with a zero viewport, releasing its row views while retaining its index and scroll position. The LLP tree initializes that index on first use. Keep the dialog itself mounted for the host command to address. Found and verified in the LLP terminal reader (2026-10-10).
•
An unchanged row style is evaluated on every animation tick. Passing the whole row to a helper, such as weight(run), makes the runner's dependency scan count every field of that row. A color change then reevaluates its font weight too. Pass the fields the helper uses (weight(run.bold, run.dim)) so the binding can skip unrelated changes. Found in the harness's matrix animation, 2026-10-10; LLP 1017.003 D6 describes the field mask.
•
scale takes x then y. scale="1 0.5" keeps the width and halves the height. A single value applies to both axes. Rows, keyframes and transitions use the same factors; percentages work too (scale="100% 50%").
•
A tap that changes one row of a long list takes ~80 ms on the web. Cause: the mutation answers the whole list (10,000 rows), and on the JS target a Rust module's answer crosses into JS as a copy and every row is checked again. Fix: make the list's resource a window (LLP 1027.004: feed(cursor) answering at most 200 rows, reachstart/reachend on the list moving the cursor) and give the mutation refreshes feed: 16–24 ms. A development build on the JS target says so in logs (big answer: <resource or mutation> … carries N list rows) once an answer's longest list passes 2,000 rows (host/web-js/seam.js). (Heavy-list bench against Dioxus, 2026-10-03.)
•
A bounded list hitches at its first window shift, or its first tap is slow. Cause: a Rust data source that parses or builds its data on first use does it then; the first window is baked into the plan, so the first query is the first reachend (or tap), on the main thread mid-scroll (75 ms for a 7 MB JSON on the web). Fix: do that work in DataSource::activate, which runs after first pixel. (Heavy-list bench, 2026-10-04.)
•
A transcript or feed should open at its newest row. Writing scrollTop to a huge number lands short on a virtualized list by the estimate error of the rows it has not built (84 pt with estimated-item-height=52). Fix: scroll-start="end" on the list (LLP 1010 §6.5), not a scrollTop write or a scrollIntoView after the first command. (Signal Clone, build 4.)
•
The app works hard at rest. Cause: it commits state that shows on a timer (a clock's text written every 250 ms), so every tick changes a view and the host runs its whole post-apply pass (navigation, controls, menus, every scroller's position) four times a second; before 32805146 this also cut the reader's scrolling. A timer's or a scroll handler's commit whose writes show nowhere skips that pass; any other still runs it. Fix: write state only when it changes (a minute-resolution clock; poll fast only while something is in flight: task poll when inFlight every(200, tick)), and remove scroll= handlers left over from experiments: each runs an action per scroll frame. (Signal Clone, build 2.)
•
A gate reads state at commits. A gated task (task hide when toast != "" key=toastUntil) is armed or dropped by the commit that changes its gate or key, never as the clock moves: so a gate cannot read performanceNow() (refused), and the after's action runs at its deadline, performanceNow() equal to it under a test's or the agent's clock. An action that re-tests performanceNow() > toastUntil there does nothing and the toast stays up forever; clear it unconditionally. (LLP 1092 D8; ledger2 #1, chat F7.)
•
Counting ticks is not measuring time. On a device a repeating task that missed ticks while the app was suspended or busy fires once, not once per missed tick, and its action observes the time it actually runs; only a test's or the agent's clock +N fires every tick. So elapsed = elapsed + 16 per tick, or ticks / 10 shown as seconds, falls behind. Fix: measure with performanceNow() (elapsed = elapsed + (now - stepped), stepped = now; seconds as floor(busyMs / 1000)), and keep counters for what really counts deliveries, such as a spinner's frame.
•
An "on return" task also runs at every launch. Cause: a gated task arms when its gate becomes true and at boot when it is already true (LLP 1092 D8), and the page is visible at launch: task returned when page.visibilityState == "visible" with after(1, onVisible) runs onVisible once at launch and once after each return from the background. A gate follows a state; it is not an event. Fix: have the action skip its own first run (if launched … then launched = true); it then hears every return. To keep the run out of the launch as well, latch the hide (task hid when page.visibilityState == "hidden" with after(1, markHidden) setting wasHidden) and gate the return on wasHidden and page.visibilityState == "visible", clearing wasHidden in its action: that misses a return which lands before the hide's timer has fired (prefer visibility-state hidden then visible with no clock step between). (Web and iOS simulator, 2026-10-06.)
•
A hidden or frozen page fact under a drive is not a suspended process. prefer visibility-state hidden changes visibility and the background fact; prefer frozen true applies the runner transitions defined for frozen, such as stopping a transport sequence. A later clock +N still runs every due timer and hatch callback, and replies and native announcements can land. Gate authored work on the fact it follows. Test OS suspension and its coalescing or wake behavior on a real host, outside the drive.
•
A jump gated on the tab that shows runs again on every return to it. A tab's panel and its list stay mounted while another tab shows, so the list keeps the reader's place, as a UITabBarController's tabs and SwiftUI's TabView keep theirs. A task gated on the tab (task reveal when top(nav).name == "board" key=station with after(1, jumpNow)) re-arms when the gate turns true again: switching to another tab and back runs its scrollIntoView and throws that place away. Fix: gate the jump on what should move the list (the data loaded, the station or filter chosen: its key), not on which tab shows; run a jump the reader asks for (a Now button) from its press. (Bake-off r25, timetable: Saved and back took the board from 07:34 to 05:00.)
•
A mixed native bake alone does not include its Rust source in the JS web build. A source composed with exact_js_bake::build_mixed_with still needs a module crate exporting that source through exact_logic_abi::export!, named by rust.module.package in app.json. Without it, the JS target calls TypeScript for the Rust source and gets UnknownSource. The canvas gallery's logic/ crate and manifest show the declaration. (Web capture smoke, 2026-11-12.)
•
A data answer past 16 MiB fails only on the JS target. A 64 MiB string from a Rust source loaded on the wasm web host and on Linux, and on the JS target the resource failed (Rust module rejected the call). Cause: the JS target's Rust data seam carries at most MAX_HOST_WORK_BYTES (16 MiB) a message; the runner's own data source has no such cap. Keep an answer under 16 MiB, or page it. (LLP 1090 conformance plan, host/web-js/conformance/budget.contract.)
•
A finger on a card's ellipsis title does not lift the card on the web. A text inside a reorderFor grip with overflow-x="hidden" (which text-overflow="ellipsis" needs) is a scroll container, and touch-action is resolved from the touched element up to its nearest scroll container (Pointer Events), so the grip's none is never consulted: where the page can scroll the browser takes a touch that starts on the title, and nothing lifts; the journal says reorder: the browser took the touch contact on a grip to scroll before it lifted and names the scroll container (LLP 1102 §3.17). A mouse, or a finger on the grip's padding, works. Driven at phone size on the web: the card stays; without the overflow, or with touch-action="none" (or pointer-events="none") on the title, it moves. Fix: put touch-action="none" on that text too. (Authoring bench, LLP 1087, r32 and r33 t4-kanban, 2026-10-06.)
•
A button row's ellipsis title runs off the screen instead of truncating. Cause: a button is as wide as its content, as HTML's <button> is, display="flex" or not, and a white-space="nowrap" title's narrowest width is the whole title, so the row takes it: in Chrome a 1,052 px row on a 440 px page. min-width=0 on a column inside does not help; it narrows the column only once the row is narrower. Fix: give the button width="100%" box-sizing="border-box", and put the row's side inset in the list's padding or the button's own, not a margin, which 100% does not include (Linear Port, 2026-10-19; issues/closed/20261020-list-row-max-content-width.md).
•
A second card drag right after a drop does nothing. A drag that starts before the last one's session ends is refused (LLP 1094 D8): the drop is held until its move shows (a second at most; the agent guide, boards). A new drag ends the landing that follows at once (LLP 1102 §3.18), so only the hold refuses; the journal says reorder: a drag refused: the last drop is held until its move shows, and the agent's drag to reply carries it as note (LLP 1102 §3.17). A board whose drop sends a mutation that refreshes its cards holds until storage answers, so a quick second drag is easy to lose (a person's, or a test's: two drag to steps in a row). Fix: in a test or drive put clock settle between drags. Showing the move in the drop's own commit (an overlay on the cards' source, or the board in state the action writes, saved through the mutation) only removes the wait for storage, which shortens what a person meets. (Authoring bench, LLP 1087, r26 and r29 t4-kanban, 2026-10-05.)
•
A white band over a grey list: a seam across the screen. Cause: an inset-grouped list under content on the plain page (a readout and its buttons over a stopwatch's laps). Its ground is the grouped grey, and the page above it stays white; a hand-built UITableView(style: .insetGrouped) under a white view shows the same seam, and round 30's grader named it. Fix: rows under a screen's own content are a listStyle="plain" list on the page's white, as the Clock's laps are; keep inset-grouped for a list that is the whole screen.
•
A native sidebar separator needs another touch to redraw. Cause: a native module's own sidebar table reloads its rows during a row's selection and selects the same row again. Keep the cells and update selection only when it changes; reload when the row data changes. A list beside its detail needs no table of its own: its route asks (navigationSplit="split", LLP 1127), and UIKit's split keeps the detail's row selected, which UI Gallery's tests compare before and after an extra touch (apps/ui-gallery/tests/GalleryUITests.swift).
•
A sideways swipe on a row opens it. Cause: the row has no swipe actions. A UITableView or SwiftUI List row with none is selected by a horizontal drag of any length or speed, and one with trailing actions only is selected by a rightward drag; Exact does the same. Graders flag it when the other app's rows swipe (bake-off r28, r29, and r31's podcasts and recipes). Fix: give rows the swipe actions their screen implies, delete= or a swipe row (contract vocab swipe). (Measured on iOS 27 with the bake-off driver, 2026-10-28.)
•
A live list hitches once a tick when its data module rebuilds every row. Cause: an every(1000, step) that refreshes a resource answering all 260 tickers, each with toLocaleString prices (Hermes makes a new Intl.NumberFormat per call) and a 60-point chart string. The clock's advance waits for that answer on the main thread: 45–60 ms each second, several dropped frames mid-fling. Fix: format with one Intl.NumberFormat made at module load, keep what only a detail screen shows (its chart) out of the per-tick answer, and limit each tick's work to the rows that moved. (Round r21 watchlist, measured with the scroll-feel probe, 2026-10-26.)
•
Scrolled up, a chat's messages showed through the composer under it. Cause: a virtualized list draws its rows past its bottom edge, under the views that follow it, and a composer row with no background shows them; check reports each such text as overlapping the composer. overflow="hidden" on the list is refused (lower-collection-flow). Fix: give the bar after the list a background (background-color="-exact-background", which leaves the screen at rest as it was) or a material (backgroundMaterial="ultra-thin", as apps/messages's composer bar has).
Is this helpful
Last updated December 1, 2026
Exact Docs