Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] Error navigate to frame when close de application with gestures #1034

Open
vallemar opened this issue Mar 29, 2023 · 0 comments
Open
Labels
V3 Issues related to V3

Comments

@vallemar
Copy link
Contributor

When I close the application with the android gestures (I imagine the same will happen with the button) and your navigation is in a Frame I have this error:

  JS: [$navigateTo] Failed to navigate:
  JS:
  JS: Error: Failed to resolve frame. Make sure your frame exists. Error: Failed to resolve frame. Make sure your frame exists.
  JS:     at $navigateTo (file: src/webpack:/ns-burger/node_modules/nativescript-vue/dist/plugins/navigation.js:74:0)
  JS:     at Proxy.goTo (file: src/webpack:/ns-burger/src/components/Home.vue?9141:67:14)
  JS:     at onTap._cache.<computed>._cache.<computed> (file: src/webpack:/ns-burger/src/components/Home.vue?1d79:119:102)
  JS:     at callWithErrorHandling (file: src/webpack:/ns-burger/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:157:0)
  JS:     at callWithAsyncErrorHandling (file: src/webpack:/ns-burger/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:166:0)
  JS:     at invoker (file: src/webpack:/ns-burger/node_modules/nativescript-vue/dist/renderer/modules/events.js:54:34)
  JS:     at _executeCallback (file: src/webpack:/ns-burger/node_modules/@nativescript/core/ui/gestures/index.android.js:322:0)
  JS:     at Object.TapAndDoubleTapGestureListenerImpl._handleSingleTap (file: src/webpack:/ns-burger/node_modules/@nativescript/core/ui/gestures/index.android.js:55:0)
  JS:     at Object.TapAndDoubleTapGesture...

Example repo: https://github.com/vallemar/nativescript-burger-inspiration/tree/error-navigation-vue3
Navigation: https://github.com/vallemar/nativescript-burger-inspiration/blob/error-navigation-vue3/src/components/Home.vue#L67

Version: vue3

xx.mp4
@rigor789 rigor789 added the V3 Issues related to V3 label May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
V3 Issues related to V3
Development

No branches or pull requests

2 participants