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
AppUpdateBoundary's "last sibling" comment overstates the guarantee #704
Found during the review of #701. Not blocking — the outcome is recoverable — but the comment claims more than the code delivers, and a comment that overstates a guarantee is worse than none.
What the comment says
AppUpdateBoundary documents that it pins the blocking modal as the last sibling, so paint order puts it on top. That matters because it renders with coverScreen={false} (a workaround for the Fabric modal-host bug, #545), meaning it paints inline rather than through the native modal host — so sibling order is z-order.
What actually happens
NotificationsProvider renders {children} and then its own <CustomModal>, which uses the default coverScreen and therefore the native host. The "last sibling" guarantee only holds inside the boundary's own subtree — a notification modal will still paint over the gate.
Why it is not urgent
The notification modal is dismissible, so nobody ends up stranded: dismiss it and the gate is underneath. That is the whole reason this is a comment fix and not a blocker.
Fix
Narrow the comment to what is true — the gate is last within its own subtree, and a natively-hosted modal from an ancestor provider can still paint above it. If the stronger guarantee is actually wanted, the gate has to move above NotificationsProvider, which is a structural change worth its own PR and its own argument.
Related
Also from the same review, and the reason this matters more than a normal comment nit: no test exercises the real react-native-modal render path. Every spec mocks the library wholesale, so coverScreen={false} is only ever asserted as a prop value — never at app-root position, where the wrapper's absolute box resolves against a different ancestor than for the existing caller inside a screen. The Android New-Architecture device check tracked alongside #701 is what actually validates this.
Fixed in #712: the AppUpdateBoundary comment now states the gate is last only among inline siblings, that NotificationsProvider's native-host CustomModal can paint over it (dismissible), and names the two real fixes as out of scope.
Activity
fix(breez): make sparkUsdtWallet actually reachable, and stop the typ…
feat(breez): surface the Spark USDT token balance (ENG-473) (#704) (#712
islandbitcoin commentedon Oct 10, 2026
Fixed in #712: the AppUpdateBoundary comment now states the gate is last only among inline siblings, that NotificationsProvider's native-host CustomModal can paint over it (dismissible), and names the two real fixes as out of scope.