Coder Social home page Coder Social logo

Comments (7)

paulbamford avatar paulbamford commented on August 18, 2024

Same goes for overflow-x: hidden;

Only the first image, which is visible on page load, shows up. The rest just display holding image.

Thanks

from unveil.

splatterb0y avatar splatterb0y commented on August 18, 2024

Hmmm when I set the height to 500px or something it seems to work, when I attach a scroll event to the div and call unveil on it, but this is not optimal I guess.

from unveil.

luis-almeida avatar luis-almeida commented on August 18, 2024

Awesome catch! Thanks for posting it.
I haven't had time to investigate this but I'm sure it's because the unveil function is only triggered by scroll and resize events atm.

from unveil.

m-vdv avatar m-vdv commented on August 18, 2024

After hours of debugging I finally found out this is causing Unveil.js to not work properly within my WebApp.
Scrolling within the div simply doesn't fire the "scroll" event that unveil is waiting for.. :/
Any plans for a fix or anyone who found a hack or something to make it work?

from unveil.

m-vdv avatar m-vdv commented on August 18, 2024

This fiddle might show a possible solution:
http://jsfiddle.net/pLk4k/

from unveil.

splatterb0y avatar splatterb0y commented on August 18, 2024

@Webslash I wouldn't call it a solution, but it's definitely a workaround until webkit-based browsers fire an "on scroll"-event for elements with the "-webkit-overflow-scrolling: touch;" property.

from unveil.

pcompassion avatar pcompassion commented on August 18, 2024

I have -webkit-overflow-scrolling: touch; , and v2 works with it

from unveil.

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.