• 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

    Mouse Lock broken in HTML5/Javascript

    Opera for computers
    javascript html5 mouse pointer
    2
    3
    1191
    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.
    • A Former User
      A Former User last edited by

      OS : Windows 10
      Version : 62.0.3331.68
      Page : https://mdn.github.io/dom-examples/pointer-lock/ and any other site that uses the mouse lock function.
      Video Example : https://www.youtube.com/watch?v=3c7YxUoqSfY
      Problem : Lately most HTML5/Javascript webapps have not been working as they should. My mouse pointer jumps all over the place when trying to use them. I suspect this has something to do with a lot of them being 3D and requiring the mouse lock command to use the camera freely without your mouse flying off the edge of the screen. What it basically does is move your mouse from one side of the screen to another when you reach the edge, that way you can look in circles forever.
      I assume when the mouse reaches the edge for some reason it's jumping ahead a little creating that effect. I can't seem to solve it for the life of me however, and it doesn't happen on any other of my computers, but they only run linux so I don't know if it has to do with the OS. I've tried messing with my mouse settings, extensions, ad blocker, clearing all settings, etc. Nothing works.

      Reply Quote 0
        leocg 1 Reply Last reply
      • leocg
        leocg Moderator Volunteer @Guest last edited by

        @acmckibben87 The problem still happens with Opera 63?

        Reply Quote 0
          A Former User 1 Reply Last reply
        • A Former User
          A Former User @leocg last edited by

          @leocg Yes, it seems it does.

          Reply Quote 0
            1 Reply Last reply
          • Locked by  leocg leocg 
          • 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-2025