Subscribe on changes!

@click Behavior Inconsistent

avatar
Dec 22nd 2020

Version

3.0.4

Reproduction link

https://github.com/yotam-haran/vue-test-app

Steps to reproduce

The app shows a simple questionnaire with numbered, clickable options. Click around and see what happens - most of the times you will click just once and the click event will occur, but sometimes you will have to click twice for something to happen. This behavior is very inconsistent, and I have not been able to observe any clear pattern. Sometimes clicking an element works just fine, while the next moment it does nothing.

What is expected?

Clicking an element with an @click event fires the registered function

What is actually happening?

Clicks do not always fire the function


This behavior has been observed in two different apps with a similar setup - the latest versions of vue, vue-router, and vuex - using both vue-cli and laravel-mix for transpilation.

avatar
Dec 22nd 2020

Hello, this is too much for a reproduction: it should be boiled down as explained at https://new-issue.vuejs.org/?repo=vuejs/vue#why-repro (e.g. simplified components, no store, no router). You can also use the forum or the Discord chat to ask for help boiling it down