8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 593dd95 commit 63f8f14Copy full SHA for 63f8f14
platform/nativescript/plugins/navigator-plugin.js
@@ -75,6 +75,14 @@ export default {
75
}
76
page.on('navigatedFrom', handler)
77
78
+ // ensure that the navEntryInstance vue instance is destroyed when the
79
+ // page is disposed (clearHistory: true for example)
80
+ const dispose = page.disposeNativeView
81
+ page.disposeNativeView = (...args) => {
82
+ navEntryInstance.$destroy()
83
+ dispose.call(page, args)
84
+ }
85
+
86
frame.navigate(Object.assign({}, options, { create: () => page }))
87
resolve(page)
88
})
0 commit comments