Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

Need API to commnicate expected sizes of content #183

Open
chrishtr opened this issue Aug 30, 2019 · 2 comments
Open

Need API to commnicate expected sizes of content #183

chrishtr opened this issue Aug 30, 2019 · 2 comments

Comments

@chrishtr
Copy link
Collaborator

If one of the elements of a virtual-scroller is another virtual-scroller, perhaps it could delegate size estimation to that element, which has a better idea of the true size. This came up when trying out the sticky demo. Scrolling down leads to a jumpy scrollbar, because the estimations are off.

@domenic
Copy link
Collaborator

domenic commented Aug 31, 2019

Again this seems like it probably is a discussion for the Chromium repo, not the spec or demos.

@fergald
Copy link
Collaborator

fergald commented Aug 31, 2019

I think we need to talk about how content can indicate it's expected rendered size to the scroller. Without it, initial layout can get things badly wrong and require multiple passes.

@fergald fergald changed the title Nested virtual scrollers could estimate sizes better Need API to commnicate expected sizes of content Aug 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants