Title: [iOS] _tearDownUI not called with Modal Page · Issue #7744 · NativeScript/NativeScript · GitHub
Open Graph Title: [iOS] _tearDownUI not called with Modal Page · Issue #7744 · NativeScript/NativeScript
X Title: [iOS] _tearDownUI not called with Modal Page · Issue #7744 · NativeScript/NativeScript
Description: CLI: 6.0.4-2019-08-14-054645-13751 Cross-platform modules: a few iOS Runtime: 6.1.0-2019-08-28-095325-02 Describe the bug When you do showModal with a View and not a Frame the _tearDownUI is not called. This is pretty bad because all JS ...
Open Graph Description: CLI: 6.0.4-2019-08-14-054645-13751 Cross-platform modules: a few iOS Runtime: 6.1.0-2019-08-28-095325-02 Describe the bug When you do showModal with a View and not a Frame the _tearDownUI is not ca...
X Description: CLI: 6.0.4-2019-08-14-054645-13751 Cross-platform modules: a few iOS Runtime: 6.1.0-2019-08-28-095325-02 Describe the bug When you do showModal with a View and not a Frame the _tearDownUI is not ca...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/7744
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[iOS] _tearDownUI not called with Modal Page","articleBody":"\r\n - CLI: 6.0.4-2019-08-14-054645-13751\r\n - Cross-platform modules: a few\r\n - iOS Runtime: 6.1.0-2019-08-28-095325-02\r\n\r\n\r\n**Describe the bug**\r\nWhen you do ```showModal``` with a ```View``` and not a ```Frame``` the ```_tearDownUI``` is not called.\r\nThis is pretty bad because all JS references are released, so native object dealloced but ```disposeNativeView``` is not called.\r\nFor example ```nativescript-material-button``` will crash because it has an Observer for key/value which has not been removed before the view was deallocated.\r\n\r\n**To Reproduce**\r\nrun a showModal with any ```View```. Close the modal view. \r\n```_tearDownUI``` is not called\r\n\r\n**Expected behavior**\r\n```_tearDownUI``` is called like it does when using a ```Frame```\r\n","author":{"url":"https://github.com/farfromrefug","@type":"Person","name":"farfromrefug"},"datePublished":"2019-08-28T11:44:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/7744/NativeScript/issues/7744"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a7680c1d-b326-5a36-76dd-902cc622d5e1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C8F8:347640:4CCCBC:61B8AC:69751E9C |
| html-safe-nonce | 3482b5f1d8c2fb9c355316d7cd0bed8551879fc99523b15629c51322729f6a57 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEY4OjM0NzY0MDo0Q0NDQkM6NjFCOEFDOjY5NzUxRTlDIiwidmlzaXRvcl9pZCI6IjYzMjc0NzUyNjgyNTU4MTczNzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f13bf578850f0ed606c8c90108dd94e5215a7567f26d2ecbf49762e63f204f3c |
| hovercard-subject-tag | issue:486329204 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/NativeScript/7744/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c9fb206351c3047f821f2c80d5aa9474274c2063514d2279af2d41e9392c53b5/NativeScript/NativeScript/issues/7744 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c9fb206351c3047f821f2c80d5aa9474274c2063514d2279af2d41e9392c53b5/NativeScript/NativeScript/issues/7744 |
| og:image:alt | CLI: 6.0.4-2019-08-14-054645-13751 Cross-platform modules: a few iOS Runtime: 6.1.0-2019-08-28-095325-02 Describe the bug When you do showModal with a View and not a Frame the _tearDownUI is not ca... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | farfromrefug |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 31492490 |
| octolytics-dimension-repository_nwo | NativeScript/NativeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31492490 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/NativeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width