Skip to content

Allow for extra padding in the header #856

Answered by piecyk
alesmenzel asked this question in Ideas
Discussion options

You must be logged in to vote

@alesmenzel @Wordllban for this cases the scrollMargin options should be use, as the elements should be position in context of container we need to subtract this value from start.

https://stackblitz.com/edit/tanstack-virtual-ffmfj3?file=src%2Fmain.tsx,package.json&preset=node

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Wordllban
Comment options

@Wordllban
Comment options

@piecyk
Comment options

piecyk Oct 23, 2024
Collaborator

Answer selected by alesmenzel
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants