Populate search from cached query key #7542
Unanswered
dominik-rls
asked this question in
Q&A
Replies: 0 comments
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.
-
Hey, I'm using an infinite query to populate a searchable grid. To make sure data is kept in sync I rely on the cached query key to set the search filter when navigating back. I have quite a few issues with this approach. It works about half of the time - when it doesn't either scroll restoration doesn't work reliably (off by roughly a page or more) or I get the wrong key when navigating back. I'm probably using it completely wrong, but so far I can't figure out what my mistake is. Can someone help me out, if possible?
The layout and item order are stable. Cards can slightly vary in height depending on the label length.
Beta Was this translation helpful? Give feedback.
All reactions