nativescript-vue / nativescript-vue-navigator

A simple router for NativeScript-Vue, built on top of $navigateTo to simplify routing from within components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BUG 1

ukik opened this issue · comments

async onModal(path, options = { fullscreen: true }) {
	await setTimeout(() => {
		// this.$goto(route)
		this.$navigator.modal(path, options)
	}, 0)
},	

BUG

JS: [Navigator] Failed to show modal: Error: java.lang.NullPointerException: Attempt to invoke virtual method 'androidx.fragment.app.FragmentTransaction androidx.fragment.app.FragmentTransaction.add(androidx.fragment.app.Fragment, java.lang.String)' on a null object reference

  1. I open modal, then modal closed
  2. I minimize app, the reopen from Icon
  3. when I try modal, error comes