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
Hi,
I have desktop monitor with additional touch capabilities. I use your plugin gesture-password-vue to develop touch UI.
This condition is false in my environment:
if ('ontouchstart' in document.documentElement)
and plugin doesn't work correctly...
But my OS API can handle touch events... Can you please remove this condition and always fire up all types of events: touch and mouse. Something like:
// touch
this.el.addEventListener('touchstart', touchstartFun, false);
this.el.addEventListener('touchmove', touchmoveFun, false);
this.el.addEventListener('touchend', touchendFun, false);
// mouse
this.el.addEventListener('mousedown', touchstartFun, false);
this.el.addEventListener('mousemove', touchmoveFun, false);
this.el.addEventListener('mouseup', touchendFun, false);
Thank you in advance!
The text was updated successfully, but these errors were encountered:
I'm sorry, I only saw this information now because Github has too much information and my attention to this warehouse is very low. I'm not sure if you're still using this warehouse.
Hi,
I have desktop monitor with additional touch capabilities. I use your plugin gesture-password-vue to develop touch UI.
This condition is false in my environment:
if ('ontouchstart' in document.documentElement)
and plugin doesn't work correctly...
But my OS API can handle touch events... Can you please remove this condition and always fire up all types of events: touch and mouse. Something like:
// touch
this.el.addEventListener('touchstart', touchstartFun, false);
this.el.addEventListener('touchmove', touchmoveFun, false);
this.el.addEventListener('touchend', touchendFun, false);
// mouse
this.el.addEventListener('mousedown', touchstartFun, false);
this.el.addEventListener('mousemove', touchmoveFun, false);
this.el.addEventListener('mouseup', touchendFun, false);
Thank you in advance!
The text was updated successfully, but these errors were encountered: