Git Product home page Git Product logo

Comments (3)

jaysalvat avatar jaysalvat commented on July 29, 2024

Hello.

Try this quick fix.
Update patch #34 with:

var IS_IPHONE  = (navigator.userAgent.match(/iPhone/i) != null) || (navigator.userAgent.match(/iPod/i) != null),
    IS_ANDROID = (navigator.userAgent.match(/Android/i) != null);

    if (IS_IPHONE || IS_ANDROID) {
        ww += 60;
        wh += 60;
    }

Please test it and give me feedback if it works so I will add it to a next release.

Thanks.

from vegas.

MitchBuchannon avatar MitchBuchannon commented on July 29, 2024

thanks for the quick reply.
Can you give me a line-number where to put that new code snippet? (file: jquery.vegas.js)
line 351 (like in the iOS issue) doesn't exist... ;-(
vegas 1.3.3.

maybe you will need a distinction between android smartphones (with gap) and android tablets (without gap), too.

thanks

from vegas.

MitchBuchannon avatar MitchBuchannon commented on July 29, 2024

Hi Jay,
the quick fix works somehow, but sometimes it adds a white gap at the TOP and the LEFT of the screen. But it's supposed to fill the gap at the bottom... by the way: for android it should be a gap of 80px.
thanks a lot.

from vegas.

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.