0👍
Turns out that it’s not a vue-related issue, it’s just my inexperience of programming touch
.
I needed to add a different handler for the touch events, and call preventDefault() before using the same code as for the mouse events.
function touchstart(e)
{
e.preventDefault();
mousedown();
}
- [Vuejs]-How to change bars icon in the navbar into cross (xmark) in responsive view using Font Awesome in Vue?
- [Vuejs]-Pass props from parent to child using a method
Source:stackexchange.com