tinro icon indicating copy to clipboard operation
tinro copied to clipboard

$router.from is inaccurate when clicking browser back button

Open jamauro opened this issue 3 years ago • 2 comments

Add $: console.log('router', $router)

  1. Start on an initial route, e.g."/"
  2. Click on <a href='/test'> to navigate to a new route.
  3. Click the browser back button

The $router object displays from: "/" instead of from: "/test".

I think this is a bug but let me know if I'm missing something.

jamauro avatar Sep 16 '21 17:09 jamauro

Thanks, I'll check this

AlexxNB avatar Sep 17 '21 09:09 AlexxNB

Any update on this one?

jamauro avatar Aug 28 '22 17:08 jamauro