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

Prevent SelectLocation view from reseting scroll position on back navigation #6129

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

raksooo
Copy link
Member

@raksooo raksooo commented Apr 16, 2024

This PR enforces the stored scroll position when navigating back to the select location view. The behavior before this PR was that the select location view would scroll to the currently selected item when navigating back from either the filter view or the custom bridge view. This PR prevents that by suppressing that logic for POP navigations.


This change is Reviewable

Copy link
Contributor

@MarkusPettersson98 MarkusPettersson98 left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@raksooo raksooo force-pushed the fix-select-location-pop-scroll-position branch from 255409d to 5b55d34 Compare April 17, 2024 08:08
@raksooo raksooo force-pushed the fix-select-location-pop-scroll-position branch from 5b55d34 to d427080 Compare April 17, 2024 08:10
@raksooo raksooo merged commit 3f06c50 into main Apr 17, 2024
7 checks passed
@raksooo raksooo deleted the fix-select-location-pop-scroll-position branch April 17, 2024 08:16
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