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

feat: foundation for sticky headers #19

Merged
merged 1 commit into from
Feb 19, 2024
Merged

Conversation

knopp
Copy link
Collaborator

@knopp knopp commented Feb 19, 2024

This PR introduces

  • extension on SliverGeometry that allows specifying child obstruction extent
  • extension on RenderAbstractViewport with getOffsetToRevealExt method that provides offset to reveal that takes the obstruction extent into account.

These should be enough to allow for implementing of sticky header sliver that works properly with the jumpTo/animateToItem calls.

@knopp knopp force-pushed the sticky_headers_foundation branch from 47a0425 to 509f9cd Compare February 19, 2024 12:14
@knopp knopp merged commit 7d26f24 into main Feb 19, 2024
1 check passed
@knopp knopp deleted the sticky_headers_foundation branch February 19, 2024 12:25
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

Successfully merging this pull request may close these issues.

1 participant