Title: Using HMR with a modal view breaks livesync · Issue #7668 · NativeScript/NativeScript · GitHub
Open Graph Title: Using HMR with a modal view breaks livesync · Issue #7668 · NativeScript/NativeScript
X Title: Using HMR with a modal view breaks livesync · Issue #7668 · NativeScript/NativeScript
Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 6.0.3 Cross-platform modules: 6.0.6 Android...
Open Graph Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 6.0...
X Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 6.0...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/7668
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Using HMR with a modal view breaks livesync","articleBody":"**Environment**\r\nProvide version numbers for the following components (information can be retrieved by running `tns info` in your project folder or by inspecting the `package.json` of the project):\r\n - CLI: 6.0.3\r\n - Cross-platform modules: 6.0.6\r\n - Android Runtime: 6.0.1\r\n - iOS Runtime: 6.0.2\r\n\r\n**Describe the bug**\r\nSimilar to [this](https://github.com/NativeScript/nativescript-angular/issues/1854) issue but calling the close callback still works. The issue is that the modal's content is not changed accordingly to the changes and is not closed.\r\n\r\n**To Reproduce**\r\n\r\n- Open any modal view\r\n- Make changes to that modal views xml\r\n- Save the changes and wait for hmr to livesync the changes\r\n\r\n**Expected behavior**\r\nThe modal view is closed during hmr\r\n","author":{"url":"https://github.com/VladimirAmiorkov","@type":"Person","name":"VladimirAmiorkov"},"datePublished":"2019-08-09T13:31:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/7668/NativeScript/issues/7668"}
| 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:834086e6-df86-fd7f-b948-c4af1b55a742 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8014:243FA0:9E4F8A0:CC4D266:69763057 |
| html-safe-nonce | b94a5784ece44f003f527cb3397309a83e142c73adb2848a0274bb93b5daa5fd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDE0OjI0M0ZBMDo5RTRGOEEwOkNDNEQyNjY6Njk3NjMwNTciLCJ2aXNpdG9yX2lkIjoiMjUzOTQwNDA4NDE1ODgwNDA1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5e9dab84f1b2fe37f7266c3de68bb6cc1e131ae03fd42f80a05d25cdaa323013 |
| hovercard-subject-tag | issue:478988445 |
| 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/7668/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4d3e364b6d7b59fc387c053b3f0a483f0ec10d88f1ecb444e6859d57382d59da/NativeScript/NativeScript/issues/7668 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4d3e364b6d7b59fc387c053b3f0a483f0ec10d88f1ecb444e6859d57382d59da/NativeScript/NativeScript/issues/7668 |
| og:image:alt | Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 6.0... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | VladimirAmiorkov |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6814b4cc7afd45cd6e64525d0cff0e76dd802f315a5b0e55a7abda1d1d070d0 |
| 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 | 4ea235bfed58ef16c8a5642b3ac64b74f10c9f52 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width