@onekeyfe/react-native-pager-view 6.7.0-6 → 6.7.0-60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/README.md +159 -115
  2. package/android/build.gradle +1 -0
  3. package/android/src/androidTest/AndroidManifest.xml +7 -0
  4. package/android/src/androidTest/java/com/reactnativepagerview/CollapsiblePagerTabReservationTest.kt +476 -0
  5. package/android/src/main/java/com/reactnativepagerview/CollapsiblePagerHost.kt +233 -43
  6. package/android/src/main/java/com/reactnativepagerview/CollapsiblePagerNativeHeaders.kt +596 -27
  7. package/android/src/main/java/com/reactnativepagerview/CollapsiblePagerViewManager.kt +40 -0
  8. package/android/src/main/java/com/reactnativepagerview/NativeScrollerScrollAwayInsets.kt +19 -0
  9. package/android/src/main/java/com/reactnativepagerview/NativeScrollerView.kt +50 -6
  10. package/android/src/main/java/com/reactnativepagerview/NestedScrollableHost.kt +8 -2
  11. package/android/src/main/java/com/reactnativepagerview/event/NativeHeaderPressEvent.kt +8 -0
  12. package/android/src/test/java/com/reactnativepagerview/NativeScrollerScrollAwayInsetsTest.kt +40 -0
  13. package/docs/SPEC.md +716 -10
  14. package/ios/RNCCollapsiblePagerViewComponentView.mm +2246 -97
  15. package/ios/RNCNativeScrollerComponentView.h +2 -0
  16. package/ios/RNCNativeScrollerComponentView.mm +42 -0
  17. package/ios/tests/RNCCollapsiblePagerFirstFrameTests.mm +723 -1
  18. package/ios/tests/RNCCollapsiblePagerHitTestTests.mm +1116 -0
  19. package/ios/tests/RNCCollapsiblePagerPressCancellationTests.mm +74 -9
  20. package/ios/tests/RNCCollapsiblePagerRefreshControlTests.mm +50 -0
  21. package/lib/module/CollapsiblePagerView.js +75 -11
  22. package/lib/module/CollapsiblePagerView.web.js +653 -8
  23. package/lib/module/CollapsiblePagerViewNativeComponent.ts +57 -42
  24. package/lib/module/NativeScroller.web.js +3 -0
  25. package/lib/module/NativeScrollerNativeComponent.ts +42 -46
  26. package/lib/module/PagerViewNativeComponent.ts +20 -25
  27. package/lib/module/WebCollapsiblePagerPage.js +7 -2
  28. package/lib/typescript/src/CollapsiblePagerView.d.ts +62 -4
  29. package/lib/typescript/src/CollapsiblePagerView.web.d.ts +56 -2
  30. package/lib/typescript/src/CollapsiblePagerViewNativeComponent.d.ts +54 -38
  31. package/lib/typescript/src/NativeScroller.d.ts +5 -3
  32. package/lib/typescript/src/NativeScroller.web.d.ts +1 -1
  33. package/lib/typescript/src/NativeScrollerNativeComponent.d.ts +47 -48
  34. package/lib/typescript/src/PagerView.d.ts +1 -1
  35. package/lib/typescript/src/PagerView.web.d.ts +1 -1
  36. package/lib/typescript/src/PagerViewNativeComponent.d.ts +20 -21
  37. package/lib/typescript/src/WebCollapsiblePagerPage.d.ts +1 -1
  38. package/lib/typescript/src/usePagerView.d.ts +2 -2
  39. package/lib/typescript/src/utils.d.ts +2 -2
  40. package/package.json +20 -7
  41. package/react-native-pager-view.podspec +1 -0
  42. package/src/CollapsiblePagerView.tsx +208 -12
  43. package/src/CollapsiblePagerView.web.tsx +587 -7
  44. package/src/CollapsiblePagerViewNativeComponent.ts +57 -42
  45. package/src/NativeScroller.tsx +14 -4
  46. package/src/NativeScroller.web.tsx +15 -1
  47. package/src/NativeScrollerNativeComponent.ts +42 -46
  48. package/src/PagerViewNativeComponent.ts +20 -25
  49. package/src/WebCollapsiblePagerPage.tsx +7 -2
package/docs/SPEC.md CHANGED
@@ -14,17 +14,57 @@ valid prop values. Both the style and overlay are
14
14
  disabled by default. On iOS 26 or newer, a local overlay remains fixed at the
15
15
  top of the viewport while the owned vertical `UIScrollView` can draw behind it.
16
16
  The component measures the overlay's Fabric layout height and owns the
17
- corresponding top content inset. It binds UIKit's
17
+ corresponding top content inset.
18
+ For callers with a known initial height, `topOverlayHeightHint` reserves that
19
+ height on the first frame after the overlay is enabled, before Fabric delivers
20
+ `onLayout`. The measured height replaces the hint, and disabling the overlay
21
+ clears the measurement so a later enablement can use a new hint. The hint does
22
+ not enable the effect or reserve an inset without an active local overlay.
23
+ This uses the existing native `topOverlayHeight` prop without changing the
24
+ native interface. For native smooth local Hard mode, a complete Fabric mount
25
+ attaches the overlay slot synchronously before `didMount` returns; incomplete
26
+ slots retain the deferred fallback. It binds UIKit's
18
27
  `UIScrollEdgeElementContainerInteraction` to that exact scroll view and selects
19
28
  the requested top edge style. Hard has UIKit's dividing line; Soft has its
20
29
  gradual blurred transition. A pager owns the effect and inset for its current page;
21
30
  its nested NativeList or NativeScroller must not opt into another top overlay.
22
31
  Invisible, noninteractive native labels let UIKit recognize the React-drawn
23
32
  overlay and sticky header as scroll-edge elements. The pager does not add an
24
- auxiliary full-area glass or opaque material. It clips scrolling assets above
33
+ auxiliary full-area glass. It clips scrolling assets above
25
34
  the fixed overlay boundary; during horizontal transitions it clips its owned
26
35
  visible page hosts below the current sticky boundary so text cannot pass in
27
36
  front of the fixed controls. Masked assets must not intercept their hit targets.
37
+ On iOS 27 or newer, a local smooth Hard pager with a valid shared-header mask
38
+ fades a bottommost overlay layer using the resolved opaque pager or ancestor
39
+ theme color as the real header collapses, without hard-coded colors or changing
40
+ UIKit's Hard style, owner or interactions. During temporary horizontal owner
41
+ transitions the layer holds its last opacity until geometry is valid again;
42
+ disabling the local overlay, changing style or recycling removes it.
43
+
44
+ For this iOS 27 local smooth Hard direct-pager case, an animated page command
45
+ uses `UIScrollView`'s native content-offset animation; UIKit determines its
46
+ duration. Both page commands and horizontal user drags transfer the source's
47
+ existing top and pinned sticky scroll-edge interactions, markers, hosts and
48
+ saved original style to the transition owner before the source page detaches.
49
+ The interactions remain bound to the source list on their
50
+ original hosts; the borrowed pinned sticky host stays inside the source list
51
+ while the shared controls move. Incoming pages use temporary interactions; a
52
+ drag prepares both adjacent pages so either direction can remain visible.
53
+ Participating pages retain their scroll-edge sampling area during the animation;
54
+ fixed controls still reserve their existing hit-test area. Completion or
55
+ cancellation releases temporary ownership, restores each list's prior style
56
+ and pinned host, and reattaches the settled page's normal owner before a queued
57
+ page command starts. A drag that returns to its source page follows the same
58
+ cleanup path. A new drag invalidates an older pending settlement before it can
59
+ release the new transition's owners.
60
+ If the direct pager viewport width changes while a native animated page command is pending, stop the old-coordinate animation before resizing its viewport. After the normal layout completes, settle the captured logical destination at its new physical offset through the original generation/transition-guarded completion path. This restores scrolling, releases temporary edge ownership and drains queued commands. Any width change, including a fractional-point change, is significant. Zero width completes the logical destination without retaining a disabled pending animation; a later positive-width idle layout realigns the current page. Height-only layout and horizontal user drags retain their existing paths. Late animation-end callbacks must not complete a newer command before its own current target has been reached.
61
+
62
+ Other pager modes retain their prior command and observer ordering. Recycling,
63
+ window detachment, slot replacement and disabling the style also release the
64
+ temporary resources. Conformance requires preserving the source interaction
65
+ and marker identities and prior style until settlement, releasing borrowed
66
+ resources on completion and cancellation, and rendered blur continuity in both
67
+ directions over long scrollable pages.
28
68
 
29
69
  For an iOS 26 pager whose fixed header is rendered by a sibling in the same
30
70
  React surface, `externalTopOverlayTag` may identify that header's native view.
@@ -59,8 +99,10 @@ the shared host before their old scroll-edge interaction is released.
59
99
  The measured overlay height is excluded from the collapsible header distance:
60
100
  `header` remains collapsible and `stickyHeader` pins immediately below the
61
101
  overlay. Selection, cancellation, reuse and disposal rebind or release the
62
- interaction and restore any prior scroll-edge style. Native scroll/refresh
102
+ interaction and restore any prior scroll-edge style. The existing owner-scoped native sticky-height callback also reaches NativeList hosts, so their React container slots clip below the same fixed viewport region and release it when the owner detaches. Native scroll/refresh
63
103
  coordination continues on the main thread without per-frame JavaScript work.
104
+ Refresh retains the pager-owned `overlay + header + sticky` top inset but offsets
105
+ the indicator by `header + sticky`, so its spinner begins below the fixed overlay.
64
106
 
65
107
  On iOS before 26, the external tag is not forwarded to native. On iOS before
66
108
  26, Android and Web the new props have no scroll-edge effect.
@@ -73,17 +115,15 @@ Acceptance requires real iOS 26 scrolling, partial collapse, short/empty page,
73
115
  refresh, page transition/cancellation, dynamic tabs and light/dark checks;
74
116
  source and build checks alone do not establish visual correctness.
75
117
 
76
- Experimental trial: `CollapsiblePagerView` paints a cover at each owned
118
+ `CollapsiblePagerView` paints a cover at each owned
77
119
  fixed-overlay or pinned-sticky boundary with one physical pixel of the nearest
78
120
  opaque ancestor background color (system background if none is available).
79
121
  These native layers do not receive touches, change insets, or clip glass shadows.
80
122
  They are removed for Soft, disabled/detached effects, and recycling. This is a
81
- visual workaround using public layer APIs, not a UIKit separator setting; rendered
82
- light/dark, scrolling, and transition acceptance is pending. Standalone
123
+ visual workaround using public layer APIs, not a UIKit separator setting. While
124
+ the sticky header is pinned, only the top cover is hidden; it reappears on unpin,
125
+ and the sticky cover and both Hard interactions remain active. Standalone
83
126
  NativeScroller and NativeList retain UIKit's unmodified Hard appearance.
84
- On the iOS 26.5 simulator, a runtime probe confirmed Hard and the cover layers,
85
- including pinned-header ownership. The original hairline was not reliably
86
- reproduced with the covers hidden, so separator suppression is not yet verified.
87
127
 
88
128
  Style selection crosses Fabric as the enum `none | hard | soft`, defaulting to
89
129
  `none`, rather than a hard-effect boolean. Switching Hard ↔ Soft on an attached
@@ -96,6 +136,83 @@ style forwarding, overlay retention and disabling; UIKit tests cover native
96
136
  style switching and restoring the previous style. Rendered iOS acceptance must
97
137
  be reported separately from type, codegen and build checks.
98
138
 
139
+ ### iOS 27 local incoming transition hosts
140
+
141
+ Status: Implemented; scoped iOS 27 simulator runtime verified.
142
+
143
+ For the existing local smooth Hard direct-pager transition, incoming pages use
144
+ the external path's transparent, noninteractive per-page top/sticky interaction
145
+ hosts. Their horizontal origin follows each page's scroll viewport; vertical
146
+ geometry follows the existing overlay and sticky references. The actual local
147
+ overlay and source interaction/marker/borrowed-host identities remain unchanged.
148
+ No replacement material, background, public API or additional mask is added.
149
+ Existing completion, release-back-to-source, invalidation and recycle paths
150
+ release only owned temporary hosts.
151
+
152
+ Source-matched iOS 27 simulator checks passed for slow movement in both
153
+ directions, same-contact over-half return followed by UP, retained nonzero scroll
154
+ regions, light/dark header protection and actual toolbar sheet opening/closing.
155
+ Selected fixed-label anchors retained their geometry. This is scoped main-UI
156
+ native-view evidence; background runtime readiness and shared JS heaps are not
157
+ assumed. Continuous/rapid alternation remains unproven: the final recording
158
+ shows no discernible alternating page motion despite successful input ACKs.
159
+ True CANCEL, resize/orientation and native lifecycle test execution remain
160
+ unverified. The original physical-device recording's exact OS/build is unknown;
161
+ selected-frame results do not establish exhaustive frame or numeric-offset parity.
162
+ The run retains `normalDevSession=false` and its official launcher failure notice;
163
+ diagnostic compilation and strict-input installation are separate build evidence.
164
+ Market's equal-height secondary display-owner change is an independent consumer
165
+ companion, not a new SDK public guarantee or JS/native same-frame contract.
166
+
167
+ ### iOS 27 pinned stand-in transition edges
168
+
169
+ Status: Implemented; iOS 27 simulator runtime verified for Wallet Home Spot ↔ History.
170
+
171
+ While a local smooth Hard pager's sticky header is pinned (`headerOffset >= headerHeight`),
172
+ every page participating in a horizontal transition keeps the Hard material behind the
173
+ fixed overlay and sticky header. An incoming page whose vertical list cannot render that
174
+ material itself — not mounted yet, not in the pager's window, laid out below the bars, or
175
+ resting at its top edge — receives a stand-in: an empty, noninteractive `UIScrollView`
176
+ placed at the page's origin in the container, sized to the overlay + sticky boundary and
177
+ offset past its top edge, with owned transparent top/sticky element hosts bound to it.
178
+ The stand-in draws only UIKit's Hard material; it carries no snapshot of header or page
179
+ content, and the page itself stays masked above the boundary. A page whose own list is
180
+ scrolled past its top and covers the bars keeps using its own temporary interactions.
181
+ When the header is not pinned no stand-in is created and the page keeps the previous
182
+ temporary interaction on its own list. The stand-in and its hosts live in the pager
183
+ container, so every scroll-edge mask update recomputes their frames from the current page
184
+ origin, page width and overlay + sticky boundary; they are hidden while that geometry is
185
+ empty. Release, completion and recycle
186
+ remove the stand-in with its owned hosts.
187
+
188
+ The fixed boundary separator covers stay in place for the whole transition, falling back to
189
+ the shared overlay and sticky hosts while no settled owner exists, so the Hard dividing line
190
+ does not flash between detach and reattach. On completion the settled page's normal owner is
191
+ attached before the previous transition owner's interactions are removed on the next run
192
+ loop. When a drag returns to its source and the source's adopted interaction still targets
193
+ the settled list on the shared overlay host, that interaction becomes the settled owner
194
+ again instead of being replaced, so the source keeps its material after cancellation.
195
+
196
+ Verified on an iOS 27 simulator: repeated half-drag cancellations followed by a full
197
+ Spot → History → Spot swipe, with frame-by-frame checks showing no black band, no hairline
198
+ flash and no header content above the boundary. Perps/DeFi/NFT pages and non-pinned
199
+ horizontal drags were not exercised at runtime.
200
+
201
+ ### iOS 27 external-overlay interactive ownership
202
+
203
+ Status: Implemented in iOS source; runtime acceptance is reported separately.
204
+
205
+ For a direct native pager using smooth headers and a Hard top edge, an interactive horizontal drag may preserve scroll-edge ownership when the external overlay is resolved in the same window with a positive effective height. A registered outer pager must own the active page and must not be transitioning; an external overlay without an outer pager remains eligible.
206
+
207
+ Before detaching the source observer, transfer the source's existing top/sticky interactions, markers, original edge style and borrowed pinned host into the transition owner. Do not move or take ownership of the actual external React overlay. Interactive preparation is bounded to the source and its valid immediate neighbours.
208
+
209
+ Each newly prepared external incoming page owns separate transparent, noninteractive top/sticky interaction hosts inside that page. Their horizontal origin follows the page's scroll viewport rather than the fixed external overlay; their vertical positions and heights match the existing top/sticky geometry. Hosts and markers follow page-width changes. They add no replacement material or background. The source retains its existing host identities. Local-overlay ownership and external programmatic page commands keep their existing paths; this extension is selected only by interactive drag preparation.
210
+
211
+ Completion or release back to the source releases temporary interactions and markers, restores the captured original styles, removes only the owned temporary hosts, and reattaches normal ownership to the settled page. Existing cancellation, window removal, slot/recycle and external invalidation paths must release these resources as well. External identity/tag/effective-height changes and outer-owner inactivity or transition invalidate temporary ownership before references are updated. Never remove a borrowed pinned host, shared proxy, shared sticky view or actual external overlay as though it were an owned temporary host.
212
+
213
+ Rendering conformance requires real underlying content on both pages to remain blurred throughout the drag and release, with no premature whiteout, sharp penetration or frozen texture. Object registration and lifecycle tests do not establish visual conformance.
214
+
215
+
99
216
  ## Smooth shared-header and per-page body memory
100
217
 
101
218
  With nativeSmoothHeaderScrollEnabled, the header collapse C is shared across all
@@ -110,6 +227,13 @@ When C = D, selection restores the destination's saved B. When C < D, effectiveB
110
227
  is zero while the previous saved B remains suspended. Horizontal selection by
111
228
  tap, swipe or an existing programmatic command MUST preserve C throughout.
112
229
 
230
+ On iOS, a fresh page with no saved body offset and fully expanded shared header
231
+ aligns its raw offset to the newly applied negative top inset even while viewport
232
+ or content size is zero. The full restore remains pending until geometry is ready.
233
+ Deferred identity release and pages with retained body/header offsets keep their
234
+ existing restoration path. This prevents painting a new list at raw offset zero
235
+ before its first content measurement; it does not gate business-data insertion.
236
+
113
237
  Alignment, prefetch, replacement, inset changes and pending restoration MUST NOT
114
238
  commit new B. Actual consumed vertical scrolling takes over the visible body
115
239
  position; reaching full collapse during that gesture MUST NOT resurrect the old
@@ -142,6 +266,31 @@ behavior. Vertical scrolling, refresh, snapping and repeated-current-tab behavio
142
266
  are unchanged. This state belongs to native UI instances, with no new React prop
143
267
  or per-frame JavaScript synchronization.
144
268
 
269
+ ## Per-page sticky header geometry
270
+
271
+ Status: implemented in source. iOS 26.5 simulator recordings cover Market
272
+ home taps and swipes and stock detail taps, including expanded and collapsed
273
+ headers with empty destinations. Swipe cancellation and filled positions
274
+ remain outside that runtime evidence.
275
+
276
+ On iOS, an optional `stickyHeaderHeights` array supplies the sticky height in
277
+ points for each child, in the same order as the children. The shared
278
+ `stickyHeaderHeight` is the default for any missing or invalid value. The
279
+ JavaScript wrapper sends at most one nonnegative integer per child. Android
280
+ and Web continue to use the shared height.
281
+
282
+ The native pager applies the destination's inset when preparing it for
283
+ display. During a horizontal transition, each page keeps its own inset and
284
+ the shared sticky slot uses the current page's height. Selection switches the
285
+ slot to the destination's height without changing the shared collapse
286
+ distance or the remembered body position. Cancelling a swipe restores the
287
+ source geometry. Updating the height array refreshes owned insets. Recycling
288
+ clears the array along with page identity.
289
+
290
+ Acceptance covers adjacent and distant taps, horizontal swipe completion and
291
+ cancellation, different heights at the top and after collapse, and a return
292
+ to the prior page without vertical drift.
293
+
145
294
  ## Current-page top commands
146
295
 
147
296
  `scrollToPageTop(options?: Readonly<{ animated?: boolean }>)` restores the current
@@ -156,6 +305,40 @@ intent. Real vertical consumption, a newer valid command, or owner detachment
156
305
  releases the target. Existing NativeList and NativeScroller public coordinates
157
306
  are unchanged. The same page-top/sticky-top destinations are available without smooth-header mode.
158
307
 
308
+ On Android, `CollapsiblePagerHost.tryScrollToTop(target, animated)` and
309
+ `isAwayFromPageTop()` are public and kept from minification because
310
+ `react-native-bottom-tabs` calls them by name on a tab double press, as neither
311
+ package depends on the other. `tryScrollToTop` returns true only after the
312
+ existing page-top command accepts a stable, attached current owner; invalid
313
+ targets, horizontal transitions, restoration and missing/stale owners return
314
+ false without queueing a command. Acceptance does not mean animation completion.
315
+ `isAwayFromPageTop` is true while the header offset is above zero, whatever the
316
+ body offset. iOS exposes the same `tryScrollToTop:animated:` Boolean result and
317
+ `isAwayFromPageTop` selector. Renaming either breaks that caller silently.
318
+ The existing Fabric `scrollToTop` command remains void on both platforms and
319
+ uses the same acceptance path; JavaScript commands and public refs are unchanged.
320
+ BottomTabs and Pager native sources must ship together for this entry point.
321
+ The acceptance-returning entry point is implemented in source; runtime
322
+ acceptance during horizontal transitions and owner loss remains pending.
323
+
324
+ ## Current-page partial header command
325
+
326
+ `scrollHeaderBy(delta: number)` moves the current page's shared collapsible
327
+ header from its displayed offset C to `clamp(C + delta, 0, D)`.
328
+ `scrollHeaderToOffset(offset: number)` moves it to `clamp(offset, 0, D)`
329
+ regardless of intervening native keyboard or user scrolling. D is the latest
330
+ measured collapsible height. Inputs use logical points on iOS and Android and
331
+ CSS pixels on Web. Non-finite values are ignored. The header and current body move immediately
332
+ so a focused input becomes visible before the next keyboard frame. A valid command
333
+ clears only the current page's body reading position B; it never changes
334
+ another page's memory or adds permanent content/insets. It requires the same
335
+ stable attached current owner as the page-top commands and is a safe no-op
336
+ during horizontal transitions, before mount, or after disposal. A newer
337
+ command or real user vertical consumption takes ownership from an older one.
338
+ Dynamic header measurements clamp any in-flight target to the latest D.
339
+ This command allows a focused input inside the shared header to move above a
340
+ keyboard without replacing the pager's sole vertical scroll owner.
341
+
159
342
  ## Independent NativeScroller migration
160
343
 
161
344
  Status: implemented in source. Both native builds pass. Android focused emulator
@@ -318,6 +501,43 @@ warnings were observed. Keyboard, multi-touch, physical-device performance and
318
501
  the full lifecycle/interaction matrix remain unverified. These are local source
319
502
  builds; the currently installed npm version does not yet contain this migration.
320
503
 
504
+ ## Android removal-transition geometry retention
505
+
506
+ Status: implemented locally; unreleased. On the Android UI thread, during a
507
+ screen removal transition,
508
+ NativeList and CollapsiblePager layout entry points respect the RecyclerView
509
+ suppression state established by the screen-transition owner. The owner restores
510
+ the original state when its last transition ownership ends. In addition,
511
+ `CollapsiblePagerHost` disables `DefaultItemAnimator` on its internal
512
+ `ViewPager2` `RecyclerView` (`itemAnimator = null`) and skips pre-draw
513
+ (`layoutPagerIfRequested`) and host-driven `ViewPager2` layout passes when all
514
+ React page children have been removed from the adapter (`adapter.itemCount == 0`)
515
+ while previously rendered page `ViewHolder` views remain attached
516
+ (`attachedPageCount() > 0`), matching `PagerViewViewManagerImpl`'s unmount
517
+ guard. Initial empty measurement before any page is attached
518
+ (`attachedPageCount() == 0`) and subsequent page insertions (`adapter.itemCount > 0`)
519
+ still measure and lay out normally. This prevents unmount-time empty-adapter
520
+ layout passes from clearing visible exit frames or recycling attached
521
+ `ViewHolder` views held in `mDisappearingChildren` by `ViewGroup.startViewTransition`.
522
+ This adds no public API and does not change Web or iOS behavior.
523
+
524
+ If Fabric removes the current NativeScroller React child while its origin-frame
525
+ transition remains active, Android retains the already displayed native extent
526
+ for drawing. The current child and raw content dimensions still clear normally;
527
+ only native content measurement and layout use the retained effective extent.
528
+ The matching transition end or detach clears the private child and extent state
529
+ idempotently. Adding a new child cancels prior retention, and a late end for the
530
+ old child cannot alter the new content. Ordinary removal, size events and scroll
531
+ commands keep their existing semantics.
532
+
533
+ Local arm64 DevShell acceptance covered Base, CXO and Overview exit content,
534
+ normal scrolling, RecyclerView ownership and suppression cleanup for the
535
+ observed CXO exit, and NativeScroller raw-zero content dimensions with a
536
+ nonzero displayed origin followed by detach cleanup. Nested-owner and cancel
537
+ paths, Overview rebound/cancel, natural resize and new-child runtime cases,
538
+ and the full performance matrix remain unverified. SDK publication and
539
+ consumer version alignment are separate steps.
540
+
321
541
  ## iOS vertical-scroll press cancellation
322
542
 
323
543
  Status: implemented in source. A source-identical `node_modules` build was
@@ -363,7 +583,11 @@ content, the shared header, and touches beginning on an inner horizontal banner.
363
583
  Normal taps MUST remain functional. Press-retention behavior in application
364
584
  controls belongs to the consuming responder implementation; the Pager package
365
585
  does not contain or publish Tamagui helpers. The native application tab bar has
366
- a separate contract in react-native-tab-view/docs/SPEC.md.
586
+ a separate contract in react-native-bottom-tabs/docs/SPEC.md.
587
+
588
+ On Android, smooth-touch coordination and nested interception share the same
589
+ native-gesture state. Once either path starts the gesture, later MOVE events
590
+ MUST NOT start it again before its end or cancellation clears that state.
367
591
 
368
592
  The current native implementation confirms horizontal intent after at least
369
593
  32 points on iOS or 32 dp on Android, with horizontal displacement exceeding
@@ -437,6 +661,40 @@ The attached UIKit regression intentionally constrains the real pager pan to two
437
661
  required touches to prove the no-pan path; it is distinct from natural Home OS
438
662
  input, coalesced-event delivery, and physical-device acceptance.
439
663
 
664
+ ## Native segmented tab bar
665
+
666
+ Status: implemented locally. Focused production-class iOS XCTest and Android
667
+ instrumentation checks pass; consuming App interaction acceptance is separate.
668
+ `nativeTabBar.style.variant` retains `"underline"` (the default) and
669
+ `"segmented"` on iOS and Android; the text variant is specified below. The optional
670
+ `nativeTabBar.style.contentPaddingVertical` is a nonnegative logical inset,
671
+ defaulting to zero. Omitting both fields preserves the existing content-width,
672
+ horizontally scrollable underline bar. Web ignores legacy `nativeTabBar` configurations and retains
673
+ its caller-rendered sticky header.
674
+
675
+ In segmented mode, the existing `height` is the entire tab slot. The track
676
+ fills the space inside `contentPaddingHorizontal` and
677
+ `contentPaddingVertical`, uses `backgroundColor`, and has a fully rounded
678
+ outline. Its visible items divide the track into equal-width segments in their
679
+ current order, including after item insertion, removal, relabeling, or resize.
680
+ The thumb uses `indicatorColor`, is inset two logical points from its segment,
681
+ and is fully rounded. Segment titles use the existing font and active/inactive
682
+ text colors, remain single-line with truncation, and retain their existing
683
+ accessibility labels, test IDs, and native press event keys. The segmented bar
684
+ does not scroll horizontally; `itemSpacing`, `indicatorHeight`, and
685
+ `indicatorBottom` apply only to underline mode. The pager's native fractional
686
+ page progress moves the thumb continuously between equal-width segments and
687
+ interpolates text emphasis without per-frame JavaScript updates. It settles at
688
+ the actual selected page after a completed or cancelled gesture. RTL reverses
689
+ physical segment order without changing logical page keys or indices.
690
+
691
+ Switching variants or removing the native tab bar clears the previous visual
692
+ state. The existing native press command, page callbacks, retention, vertical
693
+ header geometry, and Web behavior remain unchanged. Acceptance requires
694
+ focused native geometry/progress/press checks on iOS and Android, including
695
+ two or three segments, dynamic labels/items, RTL, narrow widths, and variant
696
+ switching. Type forwarding alone does not prove rendered behavior.
697
+
440
698
  ## Native tab-press animation default
441
699
 
442
700
  Behavior change: previously an omitted `nativeTabPressAnimationEnabled` animated
@@ -457,6 +715,28 @@ Status: implemented; focused native-wrapper tests cover both directions,
457
715
  explicit overrides and in-flight/superseded command targets. Home applies this policy to its JS tab bar, with iOS and
458
716
  Android simulator recordings verifying distant jumps and adjacent transitions.
459
717
 
718
+ ## Native tab trailing control reservation
719
+
720
+ Status: implemented locally, unreleased. The focused Android host test passed
721
+ (1/1); iOS hit tests had 8 passes and 1 existing skip. iOS companion-app UI
722
+ acceptance remains unverified.
723
+ `nativeTabBar.style.trailingReservedWidth` is an optional logical trailing
724
+ reservation for a sibling React control in the full-width sticky header. It
725
+ defaults to zero. JavaScript normalizes non-finite or negative input to zero;
726
+ native also clamps the reservation to the actual tab viewport width. On Android
727
+ and iOS, only the native tab viewport shrinks from `W` to `W - R`: its frame
728
+ begins at zero in LTR and at `R` in RTL. The sticky React header, its height,
729
+ and page content keep their original full-width geometry. Touches in the
730
+ reserved region reach the sibling control, while native tab hit testing and
731
+ last-tab visibility use the reduced viewport. Changing the reservation updates
732
+ that viewport; removing it or recycling the pager restores the default zero.
733
+ Web does not render the native tab and ignores this style field. For a positive
734
+ reservation, the box-none sticky React control draws above the native tab so
735
+ its inward fade and toolbar hit area remain visible; zero preserves the old
736
+ native-tab foreground order. Acceptance requires focused native layout and hit
737
+ testing for zero, nonzero, reset, and RTL reservations; type forwarding alone
738
+ is insufficient.
739
+
460
740
  ## Android refresh foreground coordination
461
741
 
462
742
  Status: implemented; Android Home simulator placement verified on 2026-09-28.
@@ -802,6 +1082,86 @@ fallback debounce, including replacement-state restoration. Other collection
802
1082
  fallbacks keep that safety delay. Caller insets and retained logical offsets
803
1083
  remain governed by the existing restoration policy.
804
1084
 
1085
+ A verified, mounted NativeList with usable vertical bounds is a scroll-owner
1086
+ boundary. Its React container slots may contain independent Fabric scroll views,
1087
+ NativeScroller views or nested pagers; those descendants MUST NOT replace that
1088
+ NativeList as the enclosing page's owner or receive its shared header. Candidate
1089
+ priority between sibling page owners remains unchanged, including an explicit
1090
+ NativeScroller sibling. Pages without an enclosing NativeList retain nested-pager
1091
+ active-owner delegation. This boundary does not change scroll offsets, insets,
1092
+ shared-header collapse or per-page body memory.
1093
+
1094
+ Status: implemented and verified by production-native UIKit regressions on
1095
+ iOS 27.1 for footer insertion, explicit-sibling priority and nested-pager
1096
+ delegation. Full App and physical-device visual acceptance are reported separately.
1097
+
1098
+ A NativeOverlay host is a discovery boundary on iOS as well. Overlay content
1099
+ (popover, sheet, dialog) stays mounted inside its host view until the overlay
1100
+ window presents it, and the host can sit anywhere in a page's subtree, including
1101
+ beside the page's NativeList. Scroll views inside a host belong to the overlay:
1102
+ they MUST NOT be resolved as the page's vertical scroll owner or receive its
1103
+ insets, logical offsets or shared header. Without this boundary a staged sheet's
1104
+ Fabric scroll view outranks a NativeList sibling, takes the collapsed-header
1105
+ offset, and the sheet opens scrolled past its content. The host is recognised by
1106
+ its component class; discovery is unchanged when the overlay package is absent,
1107
+ and a scroll view outside a host keeps its existing priority. Android owner
1108
+ discovery is not changed by this boundary.
1109
+
1110
+ Status: implemented on iOS. Verified in the OneKey app on an iPhone SE (3rd
1111
+ generation) simulator, iOS 26.5: with the Home header collapsed, a popover opened
1112
+ from the History list showed an empty body before this boundary and its content
1113
+ from the first frame after it. A UIKit regression covers the boundary; Android
1114
+ was not inspected beyond the absence of the symptom.
1115
+
1116
+ When the active scroll owner is removed before its replacement becomes usable,
1117
+ the pager MUST retain bounded recovery (at most 12 retries per recovery round,
1118
+ spaced 100 ms apart). Clearing the completed mount's reattachment flag MUST NOT
1119
+ cancel that recovery. A replacement that becomes usable during that round,
1120
+ without another Fabric insertion, MUST receive the observer, shared headers,
1121
+ insets and retained collapse state. Page selection changes and recycling
1122
+ invalidate stale retry callbacks. Repeated mount attempts MUST NOT reset the
1123
+ retry budget. Once all 12 retries have been scheduled, an Insert whose parent is
1124
+ in the current page subtree MUST reopen recovery if that page retains a released
1125
+ scroll owner, including when the final retry callback is still pending. Reopening
1126
+ invalidates the old callback before clearing its scheduled state. The Insert
1127
+ MUST be recorded during a horizontal drag or transition, while observer and shared
1128
+ header attachment remain deferred until selection settles. Cancelling the drag
1129
+ on the same page MUST retain the reopened recovery round. Empty transactions,
1130
+ removals and inserts outside the current page MUST NOT reopen the budget. Owned
1131
+ `NativeScroller` and `NativeList` hosts additionally emit push readiness
1132
+ notifications when their vertical scroll views attach and obtain positive bounds
1133
+ and resolve as the page's eligible vertical scroll owner so initial first-layout
1134
+ attachment (while a coalesced slot/layout reconcile is still pending on the main
1135
+ queue or a verified vertical `NativeList` becomes ready before the current page
1136
+ has an observed owner) and late
1137
+ replacements recover immediately even without another Fabric insertion or after
1138
+ the retry budget expires; static pages with neither an unready scroll host nor a
1139
+ released scroll owner do not schedule retry timers.
1140
+
1141
+ Status of transition-time and pending-final-retry recovery: implemented and
1142
+ UIKit regression verified on iOS 26.5 (2026-10-27). Both new regressions fail
1143
+ before the fix and pass afterward. Cancellation settles on the source page
1144
+ before the replacement becomes usable; the pending-final-retry case makes the
1145
+ replacement usable after the old timer's deadline. Observer and shared header
1146
+ ownership stay detached during the drag, then recover with the retained collapse.
1147
+ The full Pager suite executes 85 tests, with one iOS-27-only skip and no failures.
1148
+
1149
+ Status of exhausted-budget recovery: implemented and UIKit regression verified
1150
+ on iOS 26.5 (2026-10-27). The regression exhausts the initial round, checks that
1151
+ empty transactions, removals and offscreen inserts do not reopen it, then inserts
1152
+ a current-page replacement whose scroller appears after did-mount. It fails
1153
+ before the fix and passes afterward, including preservation of an active round
1154
+ and restoration of the observer, shared headers and retained collapse. The full
1155
+ Pager suite executes 83 tests, with one iOS-27-only skip and no failures.
1156
+
1157
+ Status of replacement recovery: implemented and runtime verified on iOS 26.5
1158
+ (2026-10-23). The late-replacement UIKit regression fails before the fix and
1159
+ passes afterward; the full Pager suite executes 82 tests, with one iOS-27-only
1160
+ skip and no failures. In the consuming app based on x at b0789571d8 with SDK
1161
+ 6.7.0-9 and this local native change, two empty Favorites-to-Wallet-add-to-Market
1162
+ cycles and a Trending/Favorites round trip keep the first row aligned with the
1163
+ sticky header. The previously observed 212-point gap is absent.
1164
+
805
1165
  This is a UI-thread, main-runtime native coordination change with no new props,
806
1166
  events, background-runtime work, persistence or retained strong view cache.
807
1167
  Android already prepares discovered scroll children before draw and is unchanged;
@@ -900,3 +1260,349 @@ This separates package initialization in the Native UI main runtime; it does not
900
1260
  add a bridge, share JS heaps with background, or change Native scroll commands.
901
1261
  Acceptance includes the actual Native dependency graph and unchanged startup
902
1262
  budgets, Web runtime/type exports, and package source/module/declaration entries.
1263
+
1264
+ ## Text tabs, controlled selection and per-tab toolbar
1265
+
1266
+ Physical font-owner revision: Implemented from source-matched consumer candidates
1267
+ and independently accepted for the scoped three-platform checks: iOS `e6dab83e`,
1268
+ Android Header `c7fdbb4d` and Web `c75c725c`. Native compiled objects/classes,
1269
+ archives/APKs and installed binaries are matched separately from runtime evidence.
1270
+ iOS original-resolution bidirectional slow motion pairs body displacement with
1271
+ normalized same-label glyph references across halfway, and actual adjacent and
1272
+ nonadjacent clicks were reviewed. Supplemental same-contact out-and-back followed
1273
+ by UP also passed on the same task device/source: one native path contains 244
1274
+ events (1 DOWN, 242 MOVE, 1 UP). Selected-frame analysis of the 442-frame original
1275
+ recording independently pairs body displacement with normalized glyphs across the outgoing and returning
1276
+ halfway crossings, closing the out-and-back/UP evidence gap. An injected CANCEL
1277
+ event remains untested. Image-derived progress has plus/minus two-physical-pixel
1278
+ uncertainty; exact midpoint paint time is not claimed. Its authorized lower-level
1279
+ runtime remains `normalDevSession=false` with the existing DeviceHub GUI limitation.
1280
+
1281
+ Android actual slow and reverse motion, clicks and same-contact out-and-back
1282
+ input were reviewed with glyph/body evidence. The boundary estimate has a
1283
+ plus/minus two-physical-pixel uncertainty; the cancel input settled on Perps, so
1284
+ it is not evidence that cancellation returned to the source page. Web reviewed
1285
+ actual release-time CSS motion, normalized glyph ownership and stable neighboring
1286
+ tab geometry. Its existing touch path still moves the body after release. These
1287
+ are scoped runtime passes, not full gesture, typography or accessibility coverage.
1288
+ Two mounted DOM regressions exercise the physical-owner/semantic distinction and
1289
+ inherited-family/mode cleanup; they do not replace browser/native pixel evidence.
1290
+
1291
+ Prior interaction revision evidence (retained for unchanged paths): Implemented
1292
+ and synchronized from the source-matched consumer prototype. Targeted independent
1293
+ runtime acceptance passed for Web (`f22adedb`),
1294
+ iOS (`14ac191c`) and Android (Header `bafa2c02`, Host `f80156f7`). The consumer
1295
+ records are `web-settled-review.json`, `ios-14ac-review.json` and
1296
+ `android-bafa-review.json`; the unchanged Android Host/component/history evidence
1297
+ is retained separately in `android-f801-review.json`.
1298
+
1299
+ Web exercised different/same SVG handoff, approximately 100 ms presence, pointer
1300
+ cancellation/late UP, keyboard activation, resize/reattach and real Home menus.
1301
+ iOS exercised fresh History-to-Spot settlement, route/owner return, different/same
1302
+ SVG and no-entry Gallery controls, continuous actual-motion label colors, and a
1303
+ 50-to-100 History append with exact key/image prefix. Android's final background
1304
+ build measured zero leaked badge pixels over 142 with-entry frames and a clean
1305
+ slot over 84 no-entry frames, plus real pressed feedback and route/owner menus.
1306
+ Its unchanged Host build separately exercised Gallery return, owner changes,
1307
+ 50-to-100 History append and retained viewport/key-image prefix.
1308
+
1309
+ These are main-UI/native-view checks; background initializes independently and no
1310
+ shared JS heap/readiness is assumed. iOS verification used the authorized
1311
+ lower-level launch with `normalDevSession=false`. Its unchanged vendor/session
1312
+ payload followed an earlier OCI manifest HTTP 404 local-build fallback, so this
1313
+ is not normal-launcher or clean cache-hit evidence. Existing debugger/Purchases
1314
+ and Gallery warnings remain; no console-clean claim is made.
1315
+
1316
+ Native exact slow-drag/cancel and sub-150 ms tap storms, physical hover, complete
1317
+ RTL/extreme-font coverage, live custom-RGBA composition and exact append commit
1318
+ frame stability were not established by the final targeted builds. Earlier
1319
+ component evidence remains scoped to unchanged paths, never relabeled as new
1320
+ binary footage. Source/type/method-double checks and new native test drafts are
1321
+ separate from runtime evidence; the new native host/Bitmap test additions have
1322
+ not yet executed in the SDK host.
1323
+
1324
+ Earlier revision validation (retained baseline; not proof of the revision below):
1325
+ Validation scope: Web exercised real content switching, toolbar menus and selected
1326
+ feedback, drag cancellation, keyboard activation, sticky headers, localized narrow
1327
+ labels, dark mode and the unchanged wide layout. iOS exercised real page contents,
1328
+ medium/semibold labels and descenders, named SVG controls, 38-point button frames,
1329
+ press/drag cancellation, filter menus, LP selected-background restoration and sticky
1330
+ navigation. Android exercised real page contents, toolbar controls, native press
1331
+ and drag cancellation, LP selected-background restoration and sticky scrolling.
1332
+
1333
+ Rich-data Home checks on all three targets expanded the token list from 6 to 50
1334
+ items, loaded 785 NFT items, and reached 150 unique History entries through two
1335
+ successive page appends. History checks included the companion consumer
1336
+ content-generation update. Native append recordings showed no return to the
1337
+ initial list top, and 10-fps samples showed no whole-column icon clearing.
1338
+ Pixel-exact anchor stability and zero individual-image flicker were not measured.
1339
+
1340
+ VoiceOver/TalkBack speech and native hover were not exercised. An iOS Spot
1341
+ accessibility-tree snapshot failure also occurs with the original Home JS tab
1342
+ bar in the same binary; History snapshots succeed. This comparison does not
1343
+ establish a full native baseline or resolve the separate accessibility issue.
1344
+
1345
+ The existing `nativeTabBar` additionally accepts the `text` style variant. It
1346
+ uses scrollable, intrinsic-width labels, no indicator or track, and full-height
1347
+ hit areas with sufficient font ascent/descent space. Text labels use 18-point medium by default, with semibold text for the visual
1348
+ font owner defined below; consumers supply fontSize, fontFamily and
1349
+ activeFontFamily for their bundled brand faces. Native width reserves the larger
1350
+ medium/semibold label. Controlled Web text buttons use a private overlapping grid
1351
+ with one visible label and two hidden normal/active face reservations, so a font
1352
+ handoff does not resize the button or move its neighboring tabs. Hidden copies
1353
+ are AX-hidden, noninteractive and unselectable; there remains one named button
1354
+ and one visible label. The normal face keeps its inherited family when
1355
+ fontFamily is omitted, and the active face falls back to that normal family.
1356
+ On native text tabs, an omitted or empty `activeFontFamily` derives the active
1357
+ semibold weight (600, or Android legacy bold) from the resolved normal face,
1358
+ using the nearest available family weight on iOS.
1359
+ A nonempty explicit active face takes precedence and retains its named weight;
1360
+ an unavailable explicit iOS face retains the existing system-semibold fallback.
1361
+ Invalid normal iOS faces resolve to system medium before deriving active weight;
1362
+ Android family resolution retains ReactFontManager fallback behavior. Native
1363
+ measurement and rendering use the same resolved active face. On iOS text bars,
1364
+ the parent paints the full row background once and the inner scroll view is
1365
+ transparent, including fractional-alpha colors and the fixed toolbar slot.
1366
+ Other modes retain their existing structure and behavior. Existing underline and
1367
+ segmented defaults remain unchanged.
1368
+
1369
+ `nativeTabBar.controlled` defaults to false. When true, a tab press emits its
1370
+ stable item key without issuing a pager command. `selectedKey` identifies the
1371
+ selected item independently of its visual index. Consumers own business routing
1372
+ and call the existing pager commands when appropriate. With unique item/page
1373
+ keys and every page matched, label colors follow actual pager progress, including
1374
+ integer samples. Only the two page endpoints interpolate; extra non-page items
1375
+ receive no transition emphasis. Config echoes and semantic selection callbacks
1376
+ MUST NOT replace this actual progress with the target endpoint. Semantic selection,
1377
+ including selectedKey, aria-selected/native selected traits and press callbacks,
1378
+ continues to follow the existing controlled contract. Toolbar snapshot ownership,
1379
+ activation and settlement are unchanged.
1380
+
1381
+ For valid controlled text tabs with an actual progress sample, only the visual
1382
+ font owner follows the physical page: clamp raw page progress to the page range,
1383
+ choose its source page below fraction 0.5 and its destination at or above 0.5,
1384
+ then map that page key to its item. At 0.49 the source uses the active face; at
1385
+ 0.50 and 0.51 the destination does. Reversing actual progress uses the same rule.
1386
+ Do not round interpolated item coordinates: an extra non-page item between the
1387
+ two endpoints must never become the transition font owner. Both font weight and
1388
+ normal/active font family use this owner, including native remeasurement and Web
1389
+ render/RAF synchronization. Config or semantic echoes do not move the font owner
1390
+ ahead of physical progress. Missing/invalid mappings, selected non-page items,
1391
+ no actual sample, uncontrolled and non-text modes retain their existing semantic
1392
+ or automatic fallback; stale valid mapping state must not survive a newly invalid
1393
+ configuration. Label color interpolation is unchanged.
1394
+
1395
+
1396
+ `nativeTabBar.toolbar` is one JSON-compatible dictionary indexed by stable tab
1397
+ key. Each entry describes one `iconName` from the existing OneKeyImage named-SVG
1398
+ pipeline, `selected`, `accessibilityLabel` and `testID`. Omitting `toolbar`
1399
+ reserves zero width. Explicit `toolbar: {}` reserves 44 logical units. A nonempty
1400
+ map reserves the largest resolved `contentWidth + trailingInset` across all its
1401
+ entries, independent of the displayed owner. A missing selected entry has no
1402
+ button, hit target or accessibility element while this fixed slot remains. Each toolbar entry accepts `iconColor`, `selectedBackgroundColor`, `hoverBackgroundColor` and `pressedBackgroundColor` as resolved CSS strings. `size`, `iconSize`, `contentWidth` and `trailingInset` are logical dimensions supplied by the consumer (defaults 38, 24, 24 and 20). The circular frame includes the icon and border; layout reservation is contentWidth plus trailingInset, preserving the consumer's negative-margin layout. The SDK does not infer application scale rules.
1403
+ At the native JSON boundary, finite `size` is clamped to 1..128,
1404
+ `iconSize` to 1..size, `contentWidth` to 0..size, and `trailingInset` to
1405
+ 0..128. Missing, null, nonnumeric or nonfinite dimensions use the defaults
1406
+ above (iconSize/contentWidth defaults are additionally capped by size).
1407
+ Consumers supply finite dimensions on Web; finite bounds and missing/null
1408
+ defaults apply there, while direct NaN/Infinity values are unsupported CSS
1409
+ inputs. Colors are normalized at the native wrapper boundary: iconColor uses
1410
+ OneKeyImage's rgba representation and native background colors use ARGB.
1411
+ This does not add a second toolbar configuration or a JavaScript feedback loop. Default background is transparent;
1412
+ selected background remains the base color after hover, press or cancellation.
1413
+ Omitted hover and pressed colors inherit that resolved base on every platform;
1414
+ explicit colors, including transparent, override it.
1415
+ iOS UIKit and Android drawable state own feedback without JavaScript roundtrips
1416
+ or default Android ripples. No menus or business capability checks live here.
1417
+
1418
+ `onNativeToolbarPress` reports the stable `key` of the displayed control and
1419
+ `anchorRect` (`x`, `y`, `width`, `height`) in window/viewport logical coordinates.
1420
+ It never changes pager selection. Invalid, stale or removed controls emit
1421
+ nothing. The controlled toolbar has a private committed presentation snapshot:
1422
+ owner key, image, dimensions, label/test identifier, colors and selected base.
1423
+ During a gesture, programmatic/queued transition or detach, the old whole visual
1424
+ remains, with hit testing and accessibility disabled and active input invalidated.
1425
+ A config-selected target before the page command cannot transfer this snapshot.
1426
+
1427
+ With a valid page mapping, commit requires genuine physical settlement and a
1428
+ physical page key matching the latest `selectedKey`. A late business echo delays
1429
+ enablement; it never changes business selection. Cancellation restores the old
1430
+ owner, rapid commands submit only the final stable owner, and idle same-owner
1431
+ LP/config updates apply once ready. Non-page/invalid mapping uses semantic fallback
1432
+ at genuine idle. Automatic/legacy modes retain their existing timing; changing
1433
+ modes cancels requests/ready owners and restores the destination mode's hit/AX state.
1434
+
1435
+ Presence changes alone fade for approximately 100 ms from current presentation
1436
+ opacity. Two present entries never fade the whole button out: identical rendering
1437
+ inputs reuse artwork across distinct action owners; different ready artwork
1438
+ replaces in place once, without crossfade or fade-through. Pending artwork may
1439
+ retain the old snapshot only as disabled, AX-hidden decoration. Ready callbacks
1440
+ recheck owner, attachment and physical settlement before atomically changing the
1441
+ whole entry. Missing/failed artwork hides content without removing the fixed slot.
1442
+
1443
+ The existing named-SVG identity includes name, color, scale and raster geometry;
1444
+ it is separate from the owner key. Replacement/detach cancels pending and ready
1445
+ owners; stale callbacks cannot paint or enable. One loaded image, at most one
1446
+ pending/ready target and one failed identity are retained per toolbar view; this
1447
+ does not replace the image package's existing resource cache. Repeated config or
1448
+ frame updates do not retry a failed identity. Returning to it still cancels a
1449
+ different pending target and hides old content; matching loaded artwork wins over
1450
+ failure memory. Android clears failed identity on detach; iOS retains it across
1451
+ transient header reparenting, and Web clears it on disposal.
1452
+
1453
+ A pointer origin is invalidated on suspension/owner transfer; a late UP cannot
1454
+ fall back to the new owner. Valid idle keyboard/AX activation remains available.
1455
+ Web blurs a focused toolbar before AX hiding. Native busy state must preserve the
1456
+ old raster without UIKit's default disabled-image dimming.
1457
+
1458
+ Platform settlement and progress:
1459
+
1460
+ - iOS uses actual scroll/presentation bounds during programmatic animation;
1461
+ UIView's model offset is not physical completion. Toolbar settlement follows
1462
+ completion, pending-command drain and observer/header restoration, with current
1463
+ generation, controller, transition, attachment and geometry checks. An owned,
1464
+ logically idle toolbar may retry transient tracking/presentation guards on at
1465
+ most two actual display ticks. Every tick rechecks full state; tracking still
1466
+ prevents commit. Real dragging/deceleration/queued transitions do not poll.
1467
+ Success stops immediately; same-context sync does not replenish the budget,
1468
+ and exhaustion stays disabled without self-renewal. Command, drag, route,
1469
+ recycle, mode and exact width changes cancel stale callbacks. Width identifies
1470
+ the geometry owner exactly, independently of visual offset-arrival tolerance.
1471
+ - Android accepts actual `onPageScrolled` for controlled text, independently of
1472
+ shared-header transition bookkeeping. Semantic `onPageSelected` keeps its
1473
+ business timing but cannot write the visual target early. IDLE settlement also
1474
+ requires valid attached bounds, no fake drag/suppression and no pending/computing
1475
+ RecyclerView or ViewPager2 layout. The existing pre-draw drain normally measures
1476
+ and lays out a requested parent pager for this opt-in mode, including when its
1477
+ RecyclerView is already clean. A retained host may reattach with positive
1478
+ bounds but without a completed layout; this opt-in path normally measures and
1479
+ lays out the attached, shown, idle host before testing its real `isLaidOut`.
1480
+ It never assigns that flag or bypasses it. Hidden/zero/busy/computing hosts wait.
1481
+ The existing RecyclerView drain then keeps its original behavior. A deferred turn rechecks all guards and the fresh page before updating
1482
+ endpoint color and toolbar together. Only success records a generation/page
1483
+ stamp; later idle draws do not repeatedly post or lay out. Config, actual motion,
1484
+ transitions and attachment invalidate it; a separately attached busy header can
1485
+ recover. Legacy RecyclerView drain behavior is unchanged. Text-bar background belongs to
1486
+ the parent Header over the full row and fixed slot; row/content are transparent
1487
+ to composite fractional alpha once. Non-text clears that parent and keeps its
1488
+ original row/track path. Toolbar presence/LP/hover/pressed fills do not change
1489
+ this background ownership.
1490
+ - Web samples the live computed CSS track transform and existing gesture progress.
1491
+ Its existing touch path moves the body after release; the new font owner follows
1492
+ that actual CSS movement and does not add continuous body dragging. Timeout or
1493
+ semantic state alone does not settle. Finish, resize and route return
1494
+ require valid live width/transform and no active gesture/inactive route; old
1495
+ RAF/timer/transition owners cannot finish a newer transition.
1496
+
1497
+ Web uses the same existing `CollapsiblePagerView.nativeTabBar` entry point,
1498
+ selection semantics and toolbar dictionary. Pointer CSS owns hover/active states;
1499
+ viewport geometry comes from the clicked element. For compatibility, legacy configurations containing only underline/segmented items remain ignored by Web as before; the new text variant, controlled=true or an explicitly supplied toolbar opt into Web rendering. The consumer remains the owner
1500
+ of menus, filtering, export, analytics and translated labels.
1501
+
1502
+ Acceptance: focused wrapper tests must cover automatic compatibility, controlled
1503
+ presses, stable keys with extra tabs, empty toolbar and toolbar events. Rendered
1504
+ checks must cover long localized labels and p/y/g glyphs, changing tabs while
1505
+ pressed, drag cancellation, sticky headers, SVG icons, light/dark colors, no-icon
1506
+ fixed reservation and native/Web parity. Include adjacent same/different SVG,
1507
+ LP differences, config-before-command, fast reversals/cancel, DOWN-switch-UP,
1508
+ pending/failed/late image completion, mode changes, no-animation, initial attach,
1509
+ resize/reorder/route return and interrupted presence fades. Different-artwork
1510
+ acceptance must render the actual component, not infer it from Home's same icon.
1511
+ Rebuilt Android frames must remove semantic-endpoint flashes and retained-layout
1512
+ settle deadlocks. Focused mounted DOM regressions cover the actual track matrix
1513
+ around 0.49/0.50/0.51 and reversal with interleaved items and unchanged selected
1514
+ AX, plus inherited normal family and text-only reservation cleanup across mode
1515
+ changes. DOM style checks do not prove browser geometry or native glyph weight.
1516
+ Real frame acceptance pairs physical body displacement with normalized glyph
1517
+ shape using the same label's normal/active endpoint references; color darkness
1518
+ alone is not font-weight evidence. Separate bidirectional gestures do not prove
1519
+ same-contact out-and-back behavior, and an out-and-back ending in UP does not prove
1520
+ CANCEL-event behavior. Source/type/JVM-double checks are not runtime proof.
1521
+
1522
+ ### React Native public type boundary
1523
+
1524
+ The three codegen specs import the public `CodegenTypes` namespace from
1525
+ `react-native`. NativeScroller's six host methods derive from its existing
1526
+ native `HostRef`, preserving the 11-method ref API and valid parameter calls.
1527
+ `keyboardShouldPersistTaps` explicitly retains the deprecated boolean aliases
1528
+ (`true` to `always`, `false` to `never`) alongside the standard string values;
1529
+ the Web wrapper also normalizes these aliases before forwarding to ScrollView,
1530
+ as in the merged main branch. Other values and owner/ref behavior are unchanged.
1531
+
1532
+ The merged development workspace follows main's RN 0.88/React 19.3 dependency
1533
+ baseline. Fresh normal package prepare/typecheck passed there; isolated copies of
1534
+ the current sources also passed normal declaration builds with RN 0.86.2.
1535
+ Actual ref/parameter fixtures passed on both RN versions, and RN 0.88 checks
1536
+ established bidirectional compatibility of the derived six host methods with
1537
+ public `HostInstance`. Both Codegen parsers produced unchanged three-component
1538
+ schemas relative to the pre-integration PR. Native source and erased JavaScript
1539
+ for the native wrapper/codegen files remain unchanged; the Web boolean forwarding
1540
+ above is a separate main-branch runtime change. These checks do not prove a new
1541
+ RN 0.88 SDK native example build or extend the scoped consumer UI acceptance.
1542
+
1543
+
1544
+ ### Registry consumer integration (2026-11-05)
1545
+
1546
+ Preview `6.7.0-alpha.449` was published from production source `76834daf9`.
1547
+ The consumer normally installed only Pager and NativeList, with exact package
1548
+ file/tarball parity; Image/logger/skeleton/bottom-tabs remain alpha.422.
1549
+ New official iOS/Android shell and vendor builds exercised Home tab/body/toolbar,
1550
+ Market primary tabs and sticky scrolling. Web exercised the actual narrow App
1551
+ Home and the installed public wrapper keyboard/ref/scroll contract. These are
1552
+ scoped consumer checks, not exact-frame/glyph/performance or rapid/CANCEL/resize
1553
+ acceptance. Earlier source-matched evidence and its limits above remain.
1554
+
1555
+ The publish workflow's Image registry poll timed out; later all 45 exact versions
1556
+ were verified without republishing. Official launch notices record shell and
1557
+ vendor HTTP-404 local-build fallbacks, a shared-preparation wait, and the initial
1558
+ iOS deployment-lock failure (`[nativeDevShell] Command failed (1): node`). Normal
1559
+ App Pod installation refreshed the two selected versions before the successful
1560
+ official launch. Neither platform is described as a clean cache hit. Consumer
1561
+ commit checks passed 9/9; unrelated postinstall noble patch and Web notification/
1562
+ external-image warnings remain separately recorded. Alpha.445 failed Pod
1563
+ integration and was not reused. SDK iOS CI ran on iOS 26.5: iOS-27-only incoming
1564
+ lifecycle cases remained skipped; no local SDK UIKit execution is claimed.
1565
+
1566
+ ## Pill tabs and centered content band
1567
+
1568
+ `nativeTabBar.style.variant` also accepts `"pill"` on iOS, Android and Web. It
1569
+ lets wide/desktop consumers replace a JS pill tab bar with the native one, so
1570
+ every platform draws Home tabs from the same config.
1571
+
1572
+ - Items keep intrinsic-width labels (medium face, `fontSize` default 16) with
1573
+ `itemPaddingHorizontal` on each side (default 14; text keeps 10, underline and
1574
+ segmented keep 8). Each item is `height - 2 * contentPaddingVertical` tall and
1575
+ vertically inset by `contentPaddingVertical`.
1576
+ - One rounded background (`indicatorColor`, radius = half its height) sits
1577
+ behind the selected item and follows pager progress. Between two items, the
1578
+ leading edge eases out and the trailing edge eases in, so the pill stretches
1579
+ toward the target before it contracts. Label colors blend from
1580
+ `inactiveTextColor` to `activeTextColor` with the same progress rules as the
1581
+ text variant. With `controlled: true`, programmatic page changes drive the same
1582
+ progress animation as the text variant does.
1583
+ - Pill geometry is always taken from the current item frames (iOS and Android
1584
+ layout passes; Web reads live button boxes on every sync and observes item and
1585
+ list resizes). No size is cached per index, so items that only move when the
1586
+ item list changes still get their own offset and width.
1587
+ - Web only: unselected items use `itemHoverBackgroundColor` and
1588
+ `itemPressedBackgroundColor` for hover / pressed feedback. When the pill
1589
+ changes target without pager progress (Web pages switch instantly), it moves
1590
+ with a 220 ms CSS transition; it does not animate on first placement.
1591
+ Native items have no hover or pressed fill.
1592
+
1593
+ `style.contentMaxWidth` (all variants, all three platforms) caps the width of the
1594
+ tab row together with the toolbar slot and centers that band in the bar. The bar
1595
+ background still covers the full width. Values that are missing, not positive,
1596
+ or at least the bar width leave the existing full-width layout unchanged.
1597
+
1598
+ `style.indicatorAnimationEnabled` (pill only, default true) turns the motion
1599
+ off. When false, the pill sits on the selected item (controlled `selectedKey`,
1600
+ otherwise the rounded pager position) on every update, label colors switch
1601
+ between active and inactive without blending, the Web CSS transition is
1602
+ skipped, and programmatic page changes no longer drive progress frames for the
1603
+ tab bar. Swiping the pages still moves the pages; only the tab bar snaps.
1604
+
1605
+ `itemPaddingHorizontal`, `itemHoverBackgroundColor`, `itemPressedBackgroundColor`,
1606
+ `contentMaxWidth` and `indicatorAnimationEnabled` travel to native code inside the existing
1607
+ `nativeTabBarConfig` JSON (colors through `processColor`), so the codegen props
1608
+ and native component schema stay the same. Existing variants keep their defaults.