May 29, 2026
6bb9c034550feb52688bacae0cf2ed8fc38cbc1fb48b415ebbbefa70506b568a Previous:
fd311eae Bundle: 89.8 KB Navigation utilities updated to support s-app-nav elements and fix home link detection via getAttribute fallback.
Highlights
- The qt selector function now includes s-app-nav as a navigation container, matching ui-nav-menu support for click interception.
- App Bridge will now intercept and handle client-side navigation for clickable elements inside s-app-nav components.
- Home link detection in the navigation handler now uses getAttribute('rel') as a fallback when the rel property is nullish, fixing routing for custom elements.
Infrastructure Changes
REPORT.md +3 -3
@@ -1,6 +1,6 @@
# Shopify App Bridge — Unminification Report
Generated: 2026-05-27T09:03:22.529Z
Generated: 2026-05-29T09:04:07.218Z
## Files
@@ -8,7 +8,7 @@ Generated: 2026-05-27T09:03:22.529Z
|------|------|-------|------|
| _bootstrap.js | 29.2KB | 1013 | Infrastructure |
| _remote-ui.js | 6.0KB | 255 | Infrastructure |
| _utilities.js | 72.3KB | 2704 | Infrastructure |
| _utilities.js | 72.4KB | 2705 | Infrastructure |
| _web-vitals.js | 11.6KB | 527 | Infrastructure |
| analytics.js | 211B | 11 | Module |
| app.js | 346B | 15 | Module |
@@ -46,7 +46,7 @@ Generated: 2026-05-27T09:03:22.529Z
| user.js | 940B | 37 | Module |
| visibility.js | 973B | 34 | Module |
| web-vitals.js | 1.8KB | 64 | Module |
| **Total** | **171.2KB** | **6506** | |
| **Total** | **171.3KB** | **6507** | |
## Pipeline Stages
modules/_utilities.js +2 -1
@@ -880,6 +880,7 @@ function Dt(t, n = true) {
}
function qt() {
const t = [
...CLICKABLE_TAGS.map((t) => 's-app-nav > ' + t),
...CLICKABLE_TAGS.map((t) => 'ui-nav-menu > ' + t),
...CLICKABLE_TAGS.map((t) => t),
].join(',');
@@ -923,7 +924,7 @@ const zt = ({ internalApiPromise, saveBarManager, rpcEventTarget }) => {
const s =
Wt(a, '_self') ??
(e.detail.destination.topFramePath === '/' &&
qt().find((t) => ((t.rel || '') + '').includes('home')));
qt().find((t) => ((t.rel ?? t.getAttribute('rel') ?? '') + '').includes('home')));
const { pathname: c, search: u } = a;
if (s) {
s[SIMULATING_CLICK] = true;