Skip to content

Commit 046dc74

Browse files
author
Vasyl Vavrychuk
committed
in virtual keyboard handle only left mouse button
1 parent 7c7d102 commit 046dc74

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

web/webdriver-app.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,10 @@ function VirtualKeyboardWidget() {
571571
},
572572

573573
change: function(e, keyboard, el) {
574+
// handle only left mouse button presses
575+
if (event.button !== 0)
576+
return;
577+
574578
var key = keyboard.lastKey;
575579
if (key === KEY_SHIFT)
576580
return;

0 commit comments

Comments
 (0)