if container height bigger than content height,can not load more data
See original GitHub issueAs https://codesandbox.io/s/yk7637p62z showed , just change styles to below:
const style = {
height: 5,
border: "1px solid green",
margin: 6,
padding: 8
};
scroll page and never load data any more.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:26
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Div height 100% and expands to fit content [duplicate]
I needed to add height: 100% to html, body and the container div to make it fill the height when there was not...
Read more >Sizing items in CSS - Learn web development | MDN
The box will always be at least this height, but will then grow taller if there is more content than the box has...
Read more >height
The height property in CSS defines specifies the content height of boxes and accepts any of the length values.
Read more >CSS max-height property
The max-height property defines the maximum height of an element. If the content is larger than the maximum height, it will overflow. How...
Read more >Sizing Components of Guides, Configuring ...
The width and height of the widget must have number values. ... and maxHeight (number) - on resizing the component cannot take more...
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
Thank you @ankeetmaini But, there is a situation in my list that the user can delete item from the list. And when the user deletes all the item, user won’t be able to scroll. And then the same issue arises. Can you please help me on this.
Right now there’s no solution, only thing is load upfront more items to have a scroll for sure.
On Thu, Feb 6, 2020 at 12:43 PM pokharelsangam notifications@github.com wrote:
– Ankeet Maini “Just when the caterpillar thought the world was over, it became a butterfly!”