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.
•
Published diagnostics stop gaining keys, or repeated elements overwrite one another. element.diagnostics is scoped to the hatch word. The session keeps 16 published names, with at most 4,096 bytes per value. Group repeated instances under a stable name, for example publish("gradient", {standard: ..., constrained: ..., noLimit: ...}), and keep each payload within that bound. (UI Gallery's 27 paint probes, 2026-10-27; HatchDiagnostics.swift.)
•
A native view's frame ticket left on costs CPU on a still screen. A live context.frames ticket keeps the display link running at the display's rate, whether or not the view changes: euxy's step strips, beat ticker and chip sweep each took one for life, 0.8% CPU idle on an iPhone 17 simulator, 0.0% once each stopped its ticket at rest and took a new one when its engine started moving (docs/recipes/native-views.md). A view that is not shown needs none; a Core Animation animation needs none; chain after(ms) only while there is work.
•
A layer that draws holds a bitmap of its whole bounds, drawing or not. A draw(in:) layer keeps 36 bytes a point² on a 3× iPhone once it has displayed, even when it drew nothing. euxy's five step strips each kept a full-size playhead layer that is empty while stopped: hidden with its contents dropped until the playhead shows, 3.2 MB of its 38 MB idle footprint went. Give what moves a small layer of its own.
•
A view a hatch adds on macOS hears no click while its window is not key. The click reaches the view by hit test and nothing happens: AppKit spends a first click on activating the window unless the view says otherwise, and an ancestor's click recognizer holds a plain mouseDown back. Give the view its own NSClickGestureRecognizer (declared with element.owns(recognizer:)) and override acceptsFirstMouse(for:) to return true, as Exact's own controls do. Found building the fixture's badge seal (LLP 1075.003.000.001 §13.10): tap <node>/<part> answered landed: "part" and the press was never counted.
•
An absolutely positioned element a web hatch appends is not where its node is. position: absolute resolves against the nearest positioned ancestor, which is rarely the hatched node, and a hatch must not restyle the node to make it one. Put what you add in the node's own flow (a block with a margin). Found the same way: tree showed the part's size right and its place elsewhere, and the aimed click was refused as outside the node's box.
•
A page module that exports window loses the global of that name. export function window(w) is the window hatch, and inside that file window.innerWidth is then the function's property. Reach the global as globalThis (the hatch's w.window is it too).
•
On Linux, Windows and Android changed also means the node's size changed. A hatch that acts whenever element is called again (a click, an input) loops when its act changes the node's own size, a label's width, say. Keep the words the node was last told with and act only when they differ. Found building the fixture's Linux hatches (§13.13): the pressing hatch pressed itself forever once its label grew a digit.
•
A background, border or radius makes a default button your own box. Rich children and rows the native button refuses do too, including on one conditional arm or through a class. buttonStyle then refuses with lower-button-style and says why. Remove the named reason to keep the platform's button, or write appearance="none" without buttonStyle for your own box. Explicit appearance="auto" admits a radius as a native content field but refuses backgrounds, borders and unsupported children. (LLP 1104 r10 D1, D2.)
•
A projected segmented control can widen after its tabs become native buttons. The projection supplies the tablist's minimum height and fills its content box; the authored children still decide that box's width. Native button insets then contribute even though the segmented control draws the face. If the row was designed around bare text tabs, write appearance="none" on those tabs. Native Fixture's header needed this after buttons became native by default. (LLP 1059 D2a, LLP 1104 D9.)
•
An AppKit segment's AX child lookup can recurse through its control. Asking the native cell for AXChildren while an NSSegmentedControl overrides its children re-enters the control's override, even when the query began at super.accessibilityChildren(). Expose the native children temporarily during that lookup; test the exposed segment's AX attributes.
•
UIKit menu and alert actions are models, not accessibility elements. Setting or testing accessibilityTraits on UIAction, UIMenu or UIAlertAction does not change what VoiceOver reads from the presented row or button. UIKit's public disabled states also stop selection. Test the presented accessibility element when claiming an ARIA projection; leave aria-disabled actions selectable and declare the UIKit deviation.
•
AppKit's setAccessibilityEnabled(false) does not make a control's AXEnabled false. Check the exposed control and its cell with accessibilityAttributeValue(.enabled) or tree --ax; checkbox, radio, popup, slider and date cells keep reporting enabled until they answer that attribute themselves. NSSwitch has no cell.
•
Vertical percentage intersect-margin follows Chrome's root height. Horizontal percentages use root width. The native sampler matches the measured browser behavior, which differs from the W3C draft's all-width rule (LLP 1001). Use px when the overscan is an absolute distance.
•
Changing accounts can leave a resource's last rows visible after a refused read. Resources keep their previous value on failure. Gate account views while the account is pending or failed, and render rows only when their answer's principal matches the current principal. Throw refused(page.denied) on a query denial. An empty successful list would hide an authentication failure. Where a checkout has the Snapback client, its accompanying snapback4/README.md demonstrates this in the complete online password example alongside reload, logout and sign-in tests. That guide is not in this repository.
•
A picker path can contain spaces. Use pick "attachment" "my photo.png" after the button opens showPicker("attachment"). Quote the whole path in the interactive command. type @attachment a.png b.png deliberately names two files; authored-test pick and the interactive alias preserve one quoted path through both web and native delivery. (EX8, 2026-10-16.)
Is this helpful
Last updated December 1, 2026
Exact Docs