• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    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

    EventListener: mouseup

    Future releases
    1
    1
    544
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gustavwiz
      gustavwiz last edited by
      document.addEventListener('mouseup', function(e){
        alert("Success");
      }, 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.

      https://jsfiddle.net/ekner/t6afxh9e/

      Reply Quote 0
        1 Reply Last reply
      • First post
        Last post

      Computer browsers

      • Opera for Windows
      • Opera for Mac
      • Opera for Linux
      • Opera beta version
      • Opera USB

      Mobile browsers

      • Opera for Android
      • Opera Mini
      • Opera Touch
      • Opera for basic phones

      • Add-ons
      • Opera account
      • Wallpapers
      • Opera Ads

      • Help & support
      • Opera blogs
      • Opera forums
      • Dev.Opera

      • Security
      • Privacy
      • Cookies Policy
      • EULA
      • Terms of Service

      • About Opera
      • Press info
      • Jobs
      • Investors
      • Become a partner
      • Contact us

      Follow Opera

      • Opera - Facebook
      • Opera - Twitter
      • Opera - YouTube
      • Opera - LinkedIn
      • Opera - Instagram

      © Opera Software 1995-