Title: Using HMR with a modal view breaks livesync · Issue #1854 · NativeScript/nativescript-angular · GitHub
Open Graph Title: Using HMR with a modal view breaks livesync · Issue #1854 · NativeScript/nativescript-angular
X Title: Using HMR with a modal view breaks livesync · Issue #1854 · NativeScript/nativescript-angular
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: 5.4.0 Cross-platform modules: 5.4.0 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: 5.4...
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: 5.4...
Opengraph URL: https://github.com/NativeScript/nativescript-angular/issues/1854
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: 5.4.0\r\n - Cross-platform modules: 5.4.0\r\n - Android Runtime: 5.4.0\r\n - iOS Runtime: 5.4.0\r\n - Plugin(s): Kinvey Studio Angular Shared App (web/mobile)\r\n - NativeScript-Angular: 7.2.4\r\n - Angular: 7.2.15\r\n \r\n**Describe the bug**\r\nIf something is changed in the app while a modal view is opened, the sync finishes successfully, but the view is not refreshed, the modal is not closed and is no longer connected with the angular app (i.e. cannot be closed).\r\n\r\n**To Reproduce**\r\nReproduced in Kinvey Studio projects. Add a modal view, build/deploy using a device / emulator. Open the modal and change something (e.g. button text in HTML) to force a sync. Tested in Android 9.\r\n\r\n**Expected behavior**\r\nSync finishes, modal is closed, page is refreshed.\r\n\r\n**Additional context**\r\nContact me for additional details if needed.\r\n","author":{"url":"https://github.com/lini","@type":"Person","name":"lini"},"datePublished":"2019-06-10T11:14:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1854/nativescript-angular/issues/1854"}
| 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:d1447c3c-f9ff-0196-90f6-76c548f41975 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B79E:99B47:249E89F:2F4986A:6974D0A0 |
| html-safe-nonce | b66a069efb907b1c7e682a01ad828e04f3ab2935da5b4d0307468770694a3daf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzlFOjk5QjQ3OjI0OUU4OUY6MkY0OTg2QTo2OTc0RDBBMCIsInZpc2l0b3JfaWQiOiI2NjU3NjU0NjkzMDY2NzU2MjU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 110d15fae08dbf821273fe40a89a5f9f6c5a5bc5e2719d9b5e2271f7a80d963f |
| hovercard-subject-tag | issue:454119753 |
| 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-angular/1854/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7a9b21f7fc13a7f16ef3e7edce3e040ce140a5d3306e3fb2a87b66428896156c/NativeScript/nativescript-angular/issues/1854 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7a9b21f7fc13a7f16ef3e7edce3e040ce140a5d3306e3fb2a87b66428896156c/NativeScript/nativescript-angular/issues/1854 |
| 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: 5.4... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lini |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/nativescript-angular git https://github.com/NativeScript/nativescript-angular.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 35951404 |
| octolytics-dimension-repository_nwo | NativeScript/nativescript-angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 35951404 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/nativescript-angular |
| 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