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: remember scroll position in attribution view #2441

Merged
merged 1 commit into from Dec 21, 2023

Conversation

mstykow
Copy link
Collaborator

@mstykow mstykow commented Dec 20, 2023

Summary of changes

  • scroll to index of selected attribution
  • defer scrolling to the end of the current call stack since race conditions may result in scrolling not being executed at all otherwise
  • remove unnecessary wrapper function

Context and reason for change

Closes #2399

How can the changes be tested

After selecting an attribution outside the default viewport, move between attribution view and some other view.

- scroll to index of selected attribution
- defer scrolling to the end of the current call stack since race conditions may result in scrolling not being executed at all otherwise
- remove unnecessary wrapper function

Signed-off-by: Maxim Stykow <maxim.stykow@tngtech.com>
@vasily-pozdnyakov vasily-pozdnyakov self-assigned this Dec 21, 2023
@mstykow mstykow merged commit 9c1d4ed into main Dec 21, 2023
5 checks passed
@mstykow mstykow deleted the feat-remember-scroll-pos-in-attribution-view branch December 21, 2023 14:38
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.

Remember scroll position in attribution view
2 participants