ember-power-select icon indicating copy to clipboard operation
ember-power-select copied to clipboard

Apple Pencil tap does not work

Open kr3ved opened this issue 5 years ago • 1 comments
trafficstars

First of all, thanks a lot for such a useful addon!

I'm reporting it here, but it's relevant for ember-basic-dropdown as well. Here is the GIF illustrating the problem:

apple_pencil_issue

A single tap using a finger triggers two events: touchstart and touchend. A single tap using an apple pencil also triggers touchmove event because of pencil being very precise — it's just a few pixels of touch "distance", but current logic aborts an action if touchmove event was triggered at all.

Here is the list of all code occurrences that I've found:

kr3ved avatar Aug 18 '20 13:08 kr3ved

Hey, thanks for reporting! I'm not sure how to fix it. Perhaps check how much it has move and if it's a very small amount (a couple pixels) still consider the "click" valid.

I will investigate it.

cibernox avatar Aug 18 '20 14:08 cibernox