You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and also Konva._mouseListenClick = false; in _endDragBefore .
In case of pointerclick - _endDragBefore is called before _pointerup - thuse setting Konva._mouseListenClick = false; , after which in _pointerup this check fails - if (Konva['_' + eventType + 'ListenClick'] ...
The text was updated successfully, but these errors were encountered:
I think moving to pointer events would be good option. It can also simplify the source code of the library.
We have found a workaround - in onpointerclick we do -
Thank you for this awesome project.
Here is an example project, if you try to drag the circle and drop ,
pointerclick
will fire butclick
will not.Looking at the code I have found that there is this code.
and also
Konva._mouseListenClick = false;
in_endDragBefore
.In case of
pointerclick
-_endDragBefore
is called before_pointerup
- thuse settingKonva._mouseListenClick = false;
, after which in_pointerup
this check fails -if (Konva['_' + eventType + 'ListenClick'] ...
The text was updated successfully, but these errors were encountered: