Code Monkey home page Code Monkey logo

Comments (5)

theborakompanioni avatar theborakompanioni commented on May 26, 2024

The script uses standard ES5 features - so every browser implementing ES5 should be covered. There is a "polyfill" for the VisibilityAPI (see supporting browser on canisuse) which will always report the page as visible on browsers not supporting it.

However, I have not checked every browser manually. The script itself is included on a quite a few websites with very high traffic so it runs on thousands of devices. Hence I am confident that most mobile browsers are also covered.

The demos with draggable elements do not work properly on mobile devices (I have created an issue) - but you can still verify it is working by scrolling around.

Again, I have not checked different mobile browsers and I'd be happy if you report back when you are experiencing inconsistencies.

from vissense.

theborakompanioni avatar theborakompanioni commented on May 26, 2024

@davidnormo I have created a branch sauce/mobile-browser which will perform all tests on android and ios via saucelabs. (I suppose the default system browser is used). The problem with saucelabs is its unreliability. Sometimes the builds run through without any issues - other times it will timeout on every vm execution..

I think it's better than nothing so I can live with it. Maybe it's because of their concurrent execution limits and I have to remove more Browser/OS combinations in favour of mobile browsers.. we'll see.

So I will keep this issue open till I can provide proper reporting for mobile browsers.
Nonetheless, I'd appreciate a short report about your experiences.

from vissense.

davidnormo avatar davidnormo commented on May 26, 2024

I've not used vissence at all. I was going to use a part of the code to check if an element is currently visible but it was specific for mobile devices. I probably won't have the time to help, sorry about that!

from vissense.

theborakompanioni avatar theborakompanioni commented on May 26, 2024

No problem at all, you already helped by opening issues/asking questions. Thanks!

from vissense.

theborakompanioni avatar theborakompanioni commented on May 26, 2024

Mobile browser have been added to automatic saucelabs tests and reports (129d235). The demo page is now a little bit more mobile friendly (example element is still not draggable though -> separate issue). Verified proper functioning on all tested devices. Hence, I am closing this issue.

from vissense.

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.