Why may not always trigger click?

There is a terminal (like the kiwi), which turns the browser into kiosk mode. Run the client written in vue.
In the upper right corner is a basket. For anybody not a secret that the touch screens on such devices are weak (still resistive). In the end, the edges of the poor sensitivity, it is well cured that play with calibration + removed the items from the edge. But it helped slightly, clicks on the basket triggered by time, those that are in the middle work a little more, but still runs perfectly.
I would have blamed it on the lintel of the screen, but the ripple effect is triggered, then something is caught. Apparently it is perceived as a click with the middle mouse button (just by process of elimination found out), but this is just a guess.
Actually a question - how to get all the elements to react to middle-click ?
June 10th 19 at 14:53
3 answers
June 10th 19 at 14:55
Replaced all @click and to on @mousedown
June 10th 19 at 14:57
btn.addEventListener('mousedown', function(evt){
June 10th 19 at 14:59
https://developer.mozilla.org/ru/docs/Web/API/Mous... - here is a translation into Russian, can be done on the object wiretap clique (@click="onSomeClick($event)") and pass event into the handler, then look at e.button, switch ... case(1), that is, the middle mouse button, and run some method to this.onClick().

Find more questions by tags Vue.jsJavaScript