Replies: 1 comment 8 replies
-
|
@inokawa I would really appreciate your input here, seeing how you're the core maintainer. Thanks a lot in advance! |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was wondering if there is any native way to handle my case:
The issue I am facing now is when scrolling up, the jitter is immense, probably from the vast difference of the initial size of the element w/ the new size (incl. Description & Media).
Is there any way to preserve the "final" height that each element takes, or do I have to build that logic on my own - essentially duplicating the height measurement code?
I already looked at this function and it seems like removing the cleanup callback would "fix" my issue:
src/core/resizer.tsEdit: It seems that the cache defined at cache.ts stores the sizes of each element - I'm just wondering if there is a way to only "keep" the biggest size, basically not resizing down to a smaller size once the item is remounted.
Beta Was this translation helpful? Give feedback.
All reactions