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: add scroll prop to <A/> component to control scrolling behavior (closes #2666) #3333

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

gbj
Copy link
Collaborator

@gbj gbj commented Dec 7, 2024

No description provided.

@gbj gbj mentioned this pull request Dec 7, 2024
Copy link
Contributor

@paul-hansen paul-hansen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks and works great! Thanks!

I don't have my app fully updated yet so couldn't test it there, I added it temporarily to the hackernews_axum example with the next/prev buttons and it stayed a the bottom of the page instead of scrolling to the top as expected. It didn't make sense to keep it that way there, but worked for quick testing. (It makes more sense for pager controls that are at the bottom of the page.)

@gbj gbj merged commit 49366be into main Dec 10, 2024
74 checks passed
@gbj gbj deleted the 2666 branch December 10, 2024 21:26
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.

2 participants