Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera
  • document.addEventListener('mouseup', function(e){
    }, false);

    When I run this code in Opera, Firefox and chrome, hold down the right mouse button, drag the mouse in any direction, and then release it, it works exactly as it should, and the alert pops up. But in Opera, when i turn mouse gestures on, it does not work. If i just right-click, and hold the mouse at the same position, and then release it works, but not if I move.

    My question is: Is this a bug with mouse gestures or should it be like this? Because my code does not work when it is like this in opera with mouse gestures on. If this is made intentionally, for example if it is some sort of workaround with a problem with mouse gestures, please consider another workaround.