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

Fixing/scroll bar restoration #1584

Closed

Conversation

noobpiyush
Copy link
Contributor

PR Fixes:

Fixed scroll position reset when using navbar back button
Added scroll position preservation across navigation
Improved user experience by maintaining scroll state

Checklist before requesting a review

I have performed a self-review of my code
I assure there is no similar/duplicate pull request regarding same issue

Testing Steps

Open any long content page
Scroll down partially
Navigate away
Click back button in navbar
Verify scroll position is maintained

Notes

No new dependencies added
Works on both mobile and desktop

Updates navbar back navigation to maintain scroll position when returning
to previous page. Prevents unwanted scroll reset and improves UX.

Add scroll position tracking
Modify back button handler
Implement position restoration
@noobpiyush noobpiyush closed this Nov 25, 2024
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