Giter VIP home page Giter VIP logo

Comments (7)

mprzydatek avatar mprzydatek commented on June 14, 2024

+1

from nginfinitescroll.

kristianmandrup avatar kristianmandrup commented on June 14, 2024

Would perhaps be nice if this wasn't hardcoded but somehow more configurable. Different browsers seem to act differently with regards to window.height and innerHeight?

from nginfinitescroll.

bennlich avatar bennlich commented on June 14, 2024

I haven't tested this, but this guy claims it's a doctype issue, which seems bizarre.

from nginfinitescroll.

kristianmandrup avatar kristianmandrup commented on June 14, 2024

In my fork at https://github.com/kristianmandrup/ngInfiniteParallelScroll, I added the ability to do per-bowser specific configuration for height etc.

from nginfinitescroll.

bennlich avatar bennlich commented on June 14, 2024

Hmm. Are you sure it's a browser-specific problem?

On Fri, May 2, 2014 at 9:28 AM, Kristian Mandrup
[email protected]:

In my fork at https://github.com/kristianmandrup/ngInfiniteParallelScroll,
I added the ability to do per-bowser specific configuration for height etc.


Reply to this email directly or view it on GitHubhttps://github.com//issues/64#issuecomment-42050504
.

from nginfinitescroll.

kristianmandrup avatar kristianmandrup commented on June 14, 2024

Not sure at all. Testing $window height vs innerHeight in my browser console gives the same result.

$(window).height()
295
$(window).innerHeight()
295

In my case, I can't even get the directive link: (scope, elem, attrs) -> function to execute, so no wonder it doesn't scroll for me :P Could you have a brief look? ;)

I don't see any Jquery dependencies, only:

mod.directive 'infiniteScroller', ['$rootScope', '$window', '$timeout', 'THROTTLE_MILLISECONDS'

But just angular services being injected...

from nginfinitescroll.

sroze avatar sroze commented on June 14, 2024

@bennlich This was Chrome issue. It's working as intended ($(window).height() === window.innerHeight) on v34.0.1847.131

from nginfinitescroll.

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.