Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scroll to both direction #6

Open
vinnitu opened this issue Jul 24, 2022 · 0 comments
Open

scroll to both direction #6

vinnitu opened this issue Jul 24, 2022 · 0 comments

Comments

@vinnitu
Copy link

vinnitu commented Jul 24, 2022

Hi!

I want to scroll remote records with timestamp field.
Record can has different height because can has different type and content length
I don't want to save all items after fetch new portion data. I prefer to trunk array.
Can you show me how to can we scroll up and scroll down?

[adress in browser: `http://exaple.site?from=${topvisibletlement.time}`

<markerWhenFetchUp>
unvisibleItem
unvisibleItem
-----top screen----
topVisibleItem
visibleItem
... different number of visible elements 
visibleItem
-----bottom screen---
unvsibleItem
unvisibleItem
<markerWhenFetchDown>

How to change address in browser when do scroll?
How to start when we have only address with query from=start time?
I think we can fetch batch fixed number records from server up and down from start time.
But how to stay at visible element at top of screen after records was fetched and pushed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant