René's URL Explorer Experiment


Title: fix(ios): preserve native content Back for default Frame navigation by rafaelaugustos · Pull Request #11590 · NativeScript/NativeScript · GitHub

Open Graph Title: fix(ios): preserve native content Back for default Frame navigation by rafaelaugustos · Pull Request #11590 · NativeScript/NativeScript

X Title: fix(ios): preserve native content Back for default Frame navigation by rafaelaugustos · Pull Request #11590 · NativeScript/NativeScript

Description: PR Checklist The PR title follows the contribution guidelines. There is an issue for this bug: #11589. CLA signing previously declared by this contributor in #11552. The full Core unit target and reported native checks pass; scope is listed below. Regression tests are included. What is the current behavior? Default Frame navigation always installs a delegate exposing the optional custom animation callback. On iPadOS 26, that prevents native content-pop input beside an inset navigation area, even when the callback returns nil. A plain UIKit control at the same inset accepts the gesture; exposing only that callback reproduces the failure. Full-width screen-edge Back still works with Core's existing gesture policy. What is the new behavior? Use a delegate with only didShow for navigation without a configured animated transition. Keep the existing animation/interaction callbacks on a separate NSObject delegate for configured transitions. Store the selected delegate on each Page's controller so the existing Page lifecycle restores it after Back. Both delegates share the unchanged didShow bookkeeping; no gesture delegate or recognition rule is replaced. Clear stale transition metadata when a reused Page is navigated with default animation, and release both shared delegate references when the last Frame is disposed. No public API or declaration changes are required. Android uses fragment transitions and has no corresponding UIKit delegate path. Fixes #11589. Validation Four regressions fail on the original implementation; all six new unit cases pass with the correction. Full npx nx run core:test --skip-nx-cache: 571 passed, 1 skipped, 45 files passed. Core build and Nx formatting passed. Real iPad Pro 11-inch M4 simulators: iPadOS 26.0 inset content now pops by gesture; full-width controls pass on 18.6 and 26.0. The iPadOS 18.6 inset screen-edge limitation remains unchanged. On both OS versions, the new apps/automated regression ran in an isolated consumer using the same test/helper execution bodies. It verifies the native selector surface and restoration across default → fade → default → Back → Back. The complete iOS apps/automated app suite was not run. Native input on both OS versions verified an actual UIKit-reported cancellation with the typed draft and Page identity retained, five committed native returns, and restored delegates after fade, slide, a custom transition instance and a shared transition. Both instrumented transition instances received push and pop callbacks; final native/logical history returned to Root. The original drawer rotation probe on iPadOS 26 now exercises 10 cases, 0 gestures not reproduced. Landscape-to-portrait Back both commits and cancels under real input while retaining the expected identities/history. UIKit deferred rotation for those swipes; one programmatic Back recorded same-coordinator overlap. This is not a universal overlap guarantee. The native consumer uses Core 9.1.3 with only this PR's built ui/frame/index.ios.js substituted, iOS runtime 9.1.0 and Xcode 27.0. No other unpublished Core patch is used. Physical iPad, Stage Manager and newer OS versions were not tested. Native validation sources, commands, hashes and logs. The published baseline and standalone UIKit isolation remain available in vue-router-ns #170. CI status (2026-10-30, head c5f591a, after merging current main): the unit-test step, Android native job, dependency review and preview publication passed. The current iOS job is stuck in Start iOS Simulator (started 02:33 UTC); the native iOS test step has not started. The same simulator workflow passed for #11587 in the adjacent run. The contributor cannot cancel the stuck upstream run (GitHub returned HTTP 403); a maintainer restart is requested. The earlier run failed simulator selection before native tests. The local iPad validation above remains separate from hosted native acceptance. Video Actual iPadOS 26 simulator recording with the correction: editing a draft, cancelling content Back, committing Back, then navigating through fade, slide, a custom instance and a shared transition. The content stays inset 280 points; returning from each default page restores the custom delegate before the next Back. core-native-content-back.mp4

Open Graph Description: PR Checklist The PR title follows the contribution guidelines. There is an issue for this bug: #11589. CLA signing previously declared by this contributor in #11552. The full Core unit target ...

X Description: PR Checklist The PR title follows the contribution guidelines. There is an issue for this bug: #11589. CLA signing previously declared by this contributor in #11552. The full Core unit target ...

Opengraph URL: https://github.com/NativeScript/NativeScript/pull/11590

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:479f5adc-35d8-d4e6-0ca6-98d300e97cf9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCEF8:EA09B:16A5B1F:1DFF5A3:6B013B4F
html-safe-noncee575a0a1d898e484cf80b9ba5969f0f0460a58bfbecebfd5c94441aa31bb7914
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUY4OkVBMDlCOjE2QTVCMUY6MURGRjVBMzo2QjAxM0I0RiIsInZpc2l0b3JfaWQiOiI3MTcyNDE1NDQ4NDYwMzc2OTExIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac4eb33a63bf0c945964c05c58e531f5f0389dda37ee813125596b25fd8a6759cc
hovercard-subject-tagpull_request:5011928543
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/NativeScript/NativeScript/pull/11590/files
twitter:imagehttps://avatars.githubusercontent.com/u/5261655?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5261655?s=400&v=4
og:image:altPR Checklist The PR title follows the contribution guidelines. There is an issue for this bug: #11589. CLA signing previously declared by this contributor in #11552. The full Core unit target ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id31492490
octolytics-dimension-repository_nwoNativeScript/NativeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31492490
octolytics-dimension-repository_network_root_nwoNativeScript/NativeScript
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/NativeScript/pull/11590/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fpull%2F11590%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fpull%2F11590%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=NativeScript%2FNativeScript
Reloadhttps://github.com/NativeScript/NativeScript/pull/11590/files
Reloadhttps://github.com/NativeScript/NativeScript/pull/11590/files
Reloadhttps://github.com/NativeScript/NativeScript/pull/11590/files
NativeScripthttps://github.com/NativeScript
NativeScripthttps://github.com/NativeScript/NativeScript
Codehttps://github.com/NativeScript/NativeScript
Issues231 (231)https://github.com/NativeScript/NativeScript/issues
Pull requests107 (107)https://github.com/NativeScript/NativeScript/pulls
Discussionshttps://github.com/NativeScript/NativeScript/discussions
Actionshttps://github.com/NativeScript/NativeScript/actions
Projectshttps://github.com/NativeScript/NativeScript/projects
Wikihttps://github.com/NativeScript/NativeScript/wiki
Security and qualityhttps://github.com/NativeScript/NativeScript/security
Insightshttps://github.com/NativeScript/NativeScript/insights
Sign up for GitHub https://github.com/signup?return_to=%2FNativeScript%2FNativeScript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FNativeScript%2FNativeScript%2Fissues%2Fnew%2Fchoose
NathanWalkerhttps://github.com/NathanWalker
NativeScript:mainhttps://github.com/NativeScript/NativeScript/tree/main
rafaelaugustos:fix/ios-default-navigation-content-pophttps://github.com/rafaelaugustos/NativeScript/tree/fix/ios-default-navigation-content-pop
Conversation 3 https://github.com/NativeScript/NativeScript/pull/11590
Commits 4 https://github.com/NativeScript/NativeScript/pull/11590/commits
Checks 6 https://github.com/NativeScript/NativeScript/pull/11590/checks
Files changed https://github.com/NativeScript/NativeScript/pull/11590/files
Please reload this pagehttps://github.com/NativeScript/NativeScript/pull/11590/files
fix(ios): preserve native content Back for default Frame navigation https://github.com/NativeScript/NativeScript/pull/11590/files#top
Show all changes 4 commits https://github.com/NativeScript/NativeScript/pull/11590/files
b3d8ad7 fix(ios): preserve native content Back for default Frame navigation rafaelaugustos Oct 26, 2026 https://github.com/NativeScript/NativeScript/pull/11590/commits/b3d8ad755a03e6268eff43cef746472ca017d3e7
c5f591a Merge branch 'main' into fix/ios-default-navigation-content-pop rafaelaugustos Oct 30, 2026 https://github.com/NativeScript/NativeScript/pull/11590/commits/c5f591a18109136baf451dbf41e767de5e5d9e85
c803a85 Merge branch 'main' into fix/ios-default-navigation-content-pop rafaelaugustos Nov 7, 2026 https://github.com/NativeScript/NativeScript/pull/11590/commits/c803a8501700bf7a9ac86442aa376938344f91f4
8a1357a Merge branch 'main' into fix/ios-default-navigation-content-pop rafaelaugustos Nov 12, 2026 https://github.com/NativeScript/NativeScript/pull/11590/commits/8a1357a5f744c2f929b4357cf9539a50cf2460d3
Clear filters https://github.com/NativeScript/NativeScript/pull/11590/files
Please reload this pagehttps://github.com/NativeScript/NativeScript/pull/11590/files
Please reload this pagehttps://github.com/NativeScript/NativeScript/pull/11590/files
frame-tests.ios.ts https://github.com/NativeScript/NativeScript/pull/11590/files#diff-4e34099c636420487e093609ecf187819c5738a064ec2392d67562cbd2d21027
index.ios.spec.ts https://github.com/NativeScript/NativeScript/pull/11590/files#diff-9b41950529077c276b7d94c2ddbc9554f850b40a225525a924bf836cfbcebd64
index.ios.ts https://github.com/NativeScript/NativeScript/pull/11590/files#diff-d7fa2fb35efcfa012bf5e14ab298e596dc99f814b26661330debfc6264f133df
vitest.setup.ts https://github.com/NativeScript/NativeScript/pull/11590/files#diff-ddf6541d9d5628e1067fc508b94fdd4fa700d5af4f6ebcc6438dda0115b8d371
apps/automated/src/ui/frame/frame-tests.ios.tshttps://github.com/NativeScript/NativeScript/pull/11590/files#diff-4e34099c636420487e093609ecf187819c5738a064ec2392d67562cbd2d21027
View file https://github.com/rafaelaugustos/NativeScript/blob/8a1357a5f744c2f929b4357cf9539a50cf2460d3/apps/automated/src/ui/frame/frame-tests.ios.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/NativeScript/pull/11590/{{ revealButtonHref }}
https://github.com/NativeScript/NativeScript/pull/11590/files#diff-4e34099c636420487e093609ecf187819c5738a064ec2392d67562cbd2d21027
https://github.com/NativeScript/NativeScript/pull/11590/files#diff-4e34099c636420487e093609ecf187819c5738a064ec2392d67562cbd2d21027
packages/core/ui/frame/index.ios.spec.tshttps://github.com/NativeScript/NativeScript/pull/11590/files#diff-9b41950529077c276b7d94c2ddbc9554f850b40a225525a924bf836cfbcebd64
View file https://github.com/rafaelaugustos/NativeScript/blob/8a1357a5f744c2f929b4357cf9539a50cf2460d3/packages/core/ui/frame/index.ios.spec.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/NativeScript/pull/11590/{{ revealButtonHref }}
packages/core/ui/frame/index.ios.tshttps://github.com/NativeScript/NativeScript/pull/11590/files#diff-d7fa2fb35efcfa012bf5e14ab298e596dc99f814b26661330debfc6264f133df
View file https://github.com/rafaelaugustos/NativeScript/blob/8a1357a5f744c2f929b4357cf9539a50cf2460d3/packages/core/ui/frame/index.ios.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/NativeScript/pull/11590/{{ revealButtonHref }}
https://github.com/NativeScript/NativeScript/pull/11590/files#diff-d7fa2fb35efcfa012bf5e14ab298e596dc99f814b26661330debfc6264f133df
https://github.com/NativeScript/NativeScript/pull/11590/files#diff-d7fa2fb35efcfa012bf5e14ab298e596dc99f814b26661330debfc6264f133df
https://github.com/NativeScript/NativeScript/pull/11590/files#diff-d7fa2fb35efcfa012bf5e14ab298e596dc99f814b26661330debfc6264f133df
https://github.com/NativeScript/NativeScript/pull/11590/files#diff-d7fa2fb35efcfa012bf5e14ab298e596dc99f814b26661330debfc6264f133df
https://github.com/NativeScript/NativeScript/pull/11590/files#diff-d7fa2fb35efcfa012bf5e14ab298e596dc99f814b26661330debfc6264f133df
https://github.com/NativeScript/NativeScript/pull/11590/files#diff-d7fa2fb35efcfa012bf5e14ab298e596dc99f814b26661330debfc6264f133df
https://github.com/NativeScript/NativeScript/pull/11590/files#diff-d7fa2fb35efcfa012bf5e14ab298e596dc99f814b26661330debfc6264f133df
https://github.com/NativeScript/NativeScript/pull/11590/files#diff-d7fa2fb35efcfa012bf5e14ab298e596dc99f814b26661330debfc6264f133df
https://github.com/NativeScript/NativeScript/pull/11590/files#diff-d7fa2fb35efcfa012bf5e14ab298e596dc99f814b26661330debfc6264f133df
https://github.com/NativeScript/NativeScript/pull/11590/files#diff-d7fa2fb35efcfa012bf5e14ab298e596dc99f814b26661330debfc6264f133df
packages/core/vitest.setup.tshttps://github.com/NativeScript/NativeScript/pull/11590/files#diff-ddf6541d9d5628e1067fc508b94fdd4fa700d5af4f6ebcc6438dda0115b8d371
View file https://github.com/rafaelaugustos/NativeScript/blob/8a1357a5f744c2f929b4357cf9539a50cf2460d3/packages/core/vitest.setup.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/NativeScript/pull/11590/{{ revealButtonHref }}
https://github.com/NativeScript/NativeScript/pull/11590/files#diff-ddf6541d9d5628e1067fc508b94fdd4fa700d5af4f6ebcc6438dda0115b8d371
https://github.com/NativeScript/NativeScript/pull/11590/files#diff-ddf6541d9d5628e1067fc508b94fdd4fa700d5af4f6ebcc6438dda0115b8d371
https://github.com/NativeScript/NativeScript/pull/11590/files#diff-ddf6541d9d5628e1067fc508b94fdd4fa700d5af4f6ebcc6438dda0115b8d371
https://github.com/NativeScript/NativeScript/pull/11590/files#diff-ddf6541d9d5628e1067fc508b94fdd4fa700d5af4f6ebcc6438dda0115b8d371
Please reload this pagehttps://github.com/NativeScript/NativeScript/pull/11590/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.