Git Product home page Git Product logo

Comments (3)

netpro2k avatar netpro2k commented on May 11, 2024

Biggest concern for me here would be false positives to due with the VR entry flow, i'm sure the browser loses focus for variable ammounts of time as part of that.

from hubs.

robertlong avatar robertlong commented on May 11, 2024

Yeah, using onblur gets false positives from the VR entry flow. It'd be nice if we got an event when you call vrDisplay.requestPresent. I'm not sure that catches all cases though.

from hubs.

robertlong avatar robertlong commented on May 11, 2024

What about a 10 second grace period before disconnecting?

We set a timeout for 10 seconds on any blur event on mobile. If we regain focus within 10 seconds we cancel the timeout.

Maybe 10 seconds is too short? Sometimes I lose my daydream controller and have to go find it. In that case you'll see the exited screen which will tell you to refresh your browser. That seems like good enough UX for now. It's the most privacy sensitive option but does degrade the UX if you can't enter VR within the grace period.

from hubs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.