question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Method not triggering when body CSS has height: 100%

See original GitHub issue

Had anyone noticed this already or is there a workaround?

I need

html, body {
  height: 100%;
  overflow-x: hidden;
}

But when I do this, the infinite scrolling method doesn’t get triggered anymore, I just use a simple div as container!

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
tjay27commented, Dec 21, 2022

@bettysteger I was dealing with a similar problem and removing this overflow-hidden worked like a charm. absolute saviour! thankyou

0reactions
shawn-simoncommented, May 30, 2015

I love you guys

Read more comments on GitHub >

github_iconTop Results From Across the Web

CSS height 100% percent not working [duplicate]
Answer is correct. html, body must be height 100%. The div you want has to be 100% + all the parents between body...
Read more >
100% height not working
If you have a bunch of stuff in your document, like say this page, then the document/html/body height will be greater than the...
Read more >
height - CSS: Cascading Style Sheets - MDN Web Docs
The height CSS property specifies the height of an element. By default, the property defines the height of the content area.
Read more >
HTML vs Body: How to Set Width and Height for Full Page ...
This problem arises when any element - not just the HTML or body element - is set to 100vw (viewport width) units. The...
Read more >
How to Use CSS to Set the Height of an HTML Element ...
When an element has a parent element that also has its height defined as a percentage value, the browser will use the same...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found