quasar icon indicating copy to clipboard operation
quasar copied to clipboard

Touch End Hold Directive

Open zN3utr4l opened this issue 8 months ago • 3 comments

What happened?

I wanted to create a component that when I press it changes a variable to true and when I lift the touch or click it changes that variable back to false.

I found this issue that says to add the events directly (https://github.com/quasarframework/quasar/issues/3876), but in this file (https://github.com/quasarframework/quasar/blob/27ce4f8efa9d5f16e7f499e1ab335c8ad16076a6/ui/playground/src/pages/touch-directives/touch-hold.vue#L18) I saw that events are supported, but there are some problems with touch, the mouse works, both up and down, while the touchend doesn't is triggered.

What did you expect to happen?

touch end when I release the button click

Reproduction URL

https://codepen.io/zN3utral/pen/bGyMXjK?editors=111

How to reproduce?

Touch event on button

Flavour

Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)

Areas

Components (quasar), Directives (quasar)

Platforms/Browsers

Chrome

Quasar info output

No response

Relevant log output

No response

Additional context

No response

zN3utr4l avatar Jun 24 '24 11:06 zN3utr4l