Right click HTML5 (DEF-1858) (SOLVED)

Right click input does not work in HTML5. Context menu needs to be disabled on canvas and input detected properly.

1 Like

Ah, thanks for reporting this. I’ve created a ticket for this.

Any news, or fixes?
I try add this line, but it is not help.

 document.getElementById("canvas").oncontextmenu = function (e) {
        e.preventDefault();
      };

I fix it. The problem is that mouse-button-middle is right button in web =)

Really? I thought this was fixed in 1.2.111.

version 1.2.112 f0f8705de03e808595901dc5f098db9c118ee07e
It is not fixed :thinking:

2 Likes

You are correct, middle and right seems to be flipped on HTML5. :expressionless: I have added an issue for this: DEF-2871

edit: Did a fix for this, will probably land in 1.2.113 though. :slight_smile:

6 Likes

Solved in 1.2.145

2 Likes