RouterLink click.native handler stops being called after page rerender

This issue has been tracked since 2022-09-14.



Reproduction link

Steps to reproduce

  1. Click link "Go about"
  2. See in console "on click"
  3. Click link "Go home"
  4. Click link "Go about"

What is expected?

The console will "on click" twice

What is actually happening?

In the console "on click" 1 time

youngpirate32 wrote this answer on 2022-09-14

If load page async (, then handler is never called

nieyuyao wrote this answer on 2022-09-25

You can use span as slot for router-link and bind click handler to it.

More Details About Repo
Owner Name vuejs
Repo Name vue
Full Name vuejs/vue
Language TypeScript
Created Date 2013-07-29
Updated Date 2022-10-03
Star Count 199758
Watcher Count 6095
Fork Count 32874
Issue Count 590


Issue Title Created Date Updated Date