4 ms·
> Adding a fixed height for out-of-view feed items When scrolling the feed, each feed item that is out of the view will get a fixed height. See the following v
by lbotos 3y ago
> Adding a fixed height for out-of-view feed items
When scrolling the feed, each feed item that is out of the view will get a fixed height. See the following video:
I can’t think of a reason for that. What do you think?
===
I wonder if this is an Meta Framework micro-optimization that makes viewport rendering faster with a gazillion DOM items or something because the element heights are "known".
(Pure speculation)
- CaveTech 3y agoIt’s most commonly done with virtual lists/infinite scroll to keep the position of the scrollbar consistent and relative to the virtual list.