René's URL Explorer Experiment


Title: Problem with ui/frame on getFragmentCallbacks · Issue #4901 · NativeScript/NativeScript · GitHub

Open Graph Title: Problem with ui/frame on getFragmentCallbacks · Issue #4901 · NativeScript/NativeScript

X Title: Problem with ui/frame on getFragmentCallbacks · Issue #4901 · NativeScript/NativeScript

Description: Please, provide the details below: Application crashes when navigating back on several views really fast and with the activityBackPressedEvent cancelling the back button on first view. Did you verify this is a real problem by searching [...

Open Graph Description: Please, provide the details below: Application crashes when navigating back on several views really fast and with the activityBackPressedEvent cancelling the back button on first view. Did you veri...

X Description: Please, provide the details below: Application crashes when navigating back on several views really fast and with the activityBackPressedEvent cancelling the back button on first view. Did you veri...

Opengraph URL: https://github.com/NativeScript/NativeScript/issues/4901

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Problem with ui/frame on getFragmentCallbacks","articleBody":"## Please, provide the details below:\r\nApplication crashes when navigating back on several views really fast and with the activityBackPressedEvent cancelling the back button on first view.\r\n\r\n### Did you verify this is a real problem by searching [Stack Overflow]\r\nYes, I've searched and couldn't find anything.\r\n\r\n### Tell us about the problem\r\nI've created an app with some views and I need to block the back button ONLY on the first view with the activityBackPressedEvent.\r\nBasically I've done this on the navigatedTo function of the first view:\r\n```\r\nmainPage = args.object;\r\nif(app.android) {\r\n      app.android.on(app.AndroidApplication.activityBackPressedEvent, backEvent);\r\n}\r\n\r\n```\r\nAnd on the backEvent function I've put:\r\n```\r\nfunction backEvent(args) {\r\n    var currentPage = frameModule.topmost().currentPage;\r\n    if(mainPage == currentPage)\r\n        args.cancel = true;\r\n}\r\n```\r\n\r\nBasically it works as expected except when I'm on view 5 and click several times on the back button, that's when the app crashes:\r\n![22091571_1647154951996162_1123662885_n](https://user-images.githubusercontent.com/16105597/30964532-a42a2d1e-a449-11e7-952d-35ede7e66a6e.png)\r\n\r\n### Which platform(s) does your issue occur on?\r\nAndroid\r\n\r\n### Please provide the following version numbers that your issue occurs with:\r\n- CLI: 3.2.1\r\n- Cross-platform modules: ~3.2.0\r\n- Runtime(s): 3.2.0\r\n\r\n### Please tell us how to recreate the issue in as much detail as possible.\r\nCreate some views and the navigation between them like View 1 --\u003e View 2 --\u003e View 3 --\u003e View 4 --\u003e View 5 and click on the back button really fast a lot of times. Also, insert the code I've put on the description of my problem in the code of first view.\r\n\r\n### Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.\r\nAlready on the description of the problem.\r\n","author":{"url":"https://github.com/pedromareis","@type":"Person","name":"pedromareis"},"datePublished":"2017-09-28T11:41:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":15},"url":"https://github.com/4901/NativeScript/issues/4901"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:8689eff1-e867-400c-889a-908b53e7d942
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idECA6:635C3:13E5624:1B12129:6972A810
html-safe-nonce372aa8db129299e926a96eebf58565e3b10a53d8a157a305b52e7e9e24080147
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0E2OjYzNUMzOjEzRTU2MjQ6MUIxMjEyOTo2OTcyQTgxMCIsInZpc2l0b3JfaWQiOiI1OTA3NzIxMjk4MzA0NDc3MjAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacfb1ab5e7fd4633333ecbd3d93e82a708dd14ce485eed0c1e30970dc8388b703d
hovercard-subject-tagissue:261288090
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/NativeScript/4901/issue_layout
twitter:imagehttps://opengraph.githubassets.com/386afa9525cc75fe1edd1b8e4dc0d7a8128bf3bcf788cee9570eee73a46f611f/NativeScript/NativeScript/issues/4901
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/386afa9525cc75fe1edd1b8e4dc0d7a8128bf3bcf788cee9570eee73a46f611f/NativeScript/NativeScript/issues/4901
og:image:altPlease, provide the details below: Application crashes when navigating back on several views really fast and with the activityBackPressedEvent cancelling the back button on first view. Did you veri...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepedromareis
hostnamegithub.com
expected-hostnamegithub.com
Noneae357919e9cc5fb635a01c9a2cc530478d3ac85f55090215eb70e1beca3385ac
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release625f1bd9f76a617a9c0729e2de91edb56b6ce42f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/NativeScript/issues/4901#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fissues%2F4901
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fissues%2F4901
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=NativeScript%2FNativeScript
Reloadhttps://github.com/NativeScript/NativeScript/issues/4901
Reloadhttps://github.com/NativeScript/NativeScript/issues/4901
Reloadhttps://github.com/NativeScript/NativeScript/issues/4901
NativeScript https://github.com/NativeScript
NativeScripthttps://github.com/NativeScript/NativeScript
Please reload this pagehttps://github.com/NativeScript/NativeScript/issues/4901
Notifications https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Fork 1.7k https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Star 25.4k https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Code https://github.com/NativeScript/NativeScript
Issues 869 https://github.com/NativeScript/NativeScript/issues
Pull requests 59 https://github.com/NativeScript/NativeScript/pulls
Discussions https://github.com/NativeScript/NativeScript/discussions
Actions https://github.com/NativeScript/NativeScript/actions
Projects 0 https://github.com/NativeScript/NativeScript/projects
Wiki https://github.com/NativeScript/NativeScript/wiki
Security 0 https://github.com/NativeScript/NativeScript/security
Insights https://github.com/NativeScript/NativeScript/pulse
Code https://github.com/NativeScript/NativeScript
Issues https://github.com/NativeScript/NativeScript/issues
Pull requests https://github.com/NativeScript/NativeScript/pulls
Discussions https://github.com/NativeScript/NativeScript/discussions
Actions https://github.com/NativeScript/NativeScript/actions
Projects https://github.com/NativeScript/NativeScript/projects
Wiki https://github.com/NativeScript/NativeScript/wiki
Security https://github.com/NativeScript/NativeScript/security
Insights https://github.com/NativeScript/NativeScript/pulse
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/NativeScript/issues/4901
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/NativeScript/issues/4901
Problem with ui/frame on getFragmentCallbackshttps://github.com/NativeScript/NativeScript/issues/4901#top
os: androidhttps://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22os%3A%20android%22
severity: highhttps://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22severity%3A%20high%22
3.4https://github.com/NativeScript/NativeScript/milestone/36
https://github.com/pedromareis
https://github.com/pedromareis
pedromareishttps://github.com/pedromareis
on Sep 28, 2017https://github.com/NativeScript/NativeScript/issues/4901#issue-261288090
https://user-images.githubusercontent.com/16105597/30964532-a42a2d1e-a449-11e7-952d-35ede7e66a6e.png
os: androidhttps://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22os%3A%20android%22
severity: highhttps://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22severity%3A%20high%22
3.4https://github.com/NativeScript/NativeScript/milestone/36
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.