You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The bug happen with virtua > 0.27.4 ( the bug doesn't happen on <= 0.27.4)
Screen.Recording.2024-05-06.at.12.25.42.mov
Make the browser not responsive and the console output the warning: `NaN` is an invalid value for the `top` css style property.
To Reproduce Steps to reproduce the behavior.
Step to reproduce the bug:
1. Click the link "Scroll Restoration Page"
2. CLick the button "Make List Smaller"
3. Click the link "Home"
4.Click the link "Scroll Restoration Page"
Expected behavior
A clear and concise description of what you expected to happen.
Platform:
OS: Any
Browser: Chrome
Version of this package: virtua > ^0.27.4 ( the bug doesn't happen on 0.27.4(
Version of framework: react
The text was updated successfully, but these errors were encountered:
This example seems to be working as expected.
If you restore the scroll position, also you have to restore the items (that is not documented though).
I refactored the internal cache at 0.28.0. The example might work with older version but it's unexpected behavior.
Describe the bug
The bug happen with virtua > 0.27.4 ( the bug doesn't happen on <= 0.27.4)
Screen.Recording.2024-05-06.at.12.25.42.mov
Make the browser not responsive and the console output the warning: `NaN` is an invalid value for the `top` css style property.
To Reproduce
Steps to reproduce the behavior.
Step to reproduce the bug:
1. Click the link "Scroll Restoration Page"
2. CLick the button "Make List Smaller"
3. Click the link "Home"
4.Click the link "Scroll Restoration Page"
Expected behavior
A clear and concise description of what you expected to happen.
Platform:
The text was updated successfully, but these errors were encountered: