Click event conflicts with drag

This issue has been tracked since 2020-05-29.

When I add a clickable button, if I drag the button, the button click event will also be triggered when the mouse is released, how can I solve it?

Reviewlike wrote this answer on 2020-11-05

hello,when I run the code,the project can not run and can not npm install

jahanzaibtariq wrote this answer on 2021-01-27

Hi,
Same issue in my case but I found the solution.

You need to use this event @activated rather then @click.

E.g : <vue-drag-resize @activated="onActivated">

More Details About Repo
Owner Name kirillmurashov
Repo Name vue-drag-resize
Full Name kirillmurashov/vue-drag-resize
Language JavaScript
Created Date 2018-04-26
Updated Date 2022-11-25
Star Count 1764
Watcher Count 24
Fork Count 291
Issue Count 89

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date