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

when Touch hold working, the click event will not work? #2503

Closed
Zhangshunyao opened this issue Aug 31, 2018 · 2 comments
Closed

when Touch hold working, the click event will not work? #2503

Zhangshunyao opened this issue Aug 31, 2018 · 2 comments

Comments

@Zhangshunyao
Copy link

Zhangshunyao commented Aug 31, 2018

 <div class="col" @click="goReading" v-touch-hold.prevent.stop="holdAction">
     <q-card class="q-pa-sm" flat> there is a picture in this card</q-card>
</div>

The code just like above, and I have check the issue list and there is no similar issue.
The holdAction worked, but the goReading doesn't work anymore

@pdanpdan
Copy link
Collaborator

You tell it to stop and prevent events. It should work if you remove the modifiers.

@Zhangshunyao
Copy link
Author

Thank you so much,I notice my fault, such fool I am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants