Coder Social home page Coder Social logo

Comments (3)

magnusart avatar magnusart commented on July 22, 2024

This is the offending line (line 37):
$element.parent().css('width', (this.getWidth() - 2) + 'px');

If I remove -2 it works fine. Not sure why it is there, if it is a bug or has some significance.

Edit: Saw the comment that it had something to do with Android. It works fine on my Galaxy nexus and my Nexus 7 when -2 is removed.

from angular-carousel.

revolunet avatar revolunet commented on July 22, 2024

weird... i'll remove that. depending on the viewport meta tag i had some pixels so tried that but this is stupid.

from angular-carousel.

magnusart avatar magnusart commented on July 22, 2024

My viewport metadata, if it helps: <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">

from angular-carousel.

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.