Scroll restoration issue with history.pushState #782
Unanswered
gielcobben
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Have you found a solution for this? |
Beta Was this translation helpful? Give feedback.
1 reply
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'm working on a project with a masonry-style layout using Tanstack/Virtual, and I've run into a challenge I'd appreciate some help with.
Desired Functionality
Proposed Implementation
position: fixed
on the grid when a post is openedposition: fixed
style between the grid and post element.Key Difference from Modal Approach
Instead of opening posts in a modal with its own scrollbar, I want to leverage the window's scroll for both the grid and individual post views.
Current Issue
When loading the project for the first time:
Questions
Any insights, suggestions, or troubleshooting steps would be greatly appreciated. Thank you in advance for your help!
Component
https://84yt3j-5173.csb.app/
https://codesandbox.io/p/github/gielcobben/remix-shallow/main
Beta Was this translation helpful? Give feedback.
All reactions