Method not triggering when body CSS has height: 100%
See original GitHub issueHad 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:
- Created 8 years ago
- Comments:7
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bettysteger I was dealing with a similar problem and removing this overflow-hidden worked like a charm. absolute saviour! thankyou
I love you guys