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

Scroll to center when tab is clicked. #2276

Merged
merged 2 commits into from
Apr 13, 2023
Merged

Conversation

rodrigogiraoserrao
Copy link
Contributor

@rodrigogiraoserrao rodrigogiraoserrao commented Apr 12, 2023

This fixes the intended behaviour of scroll_to_center and uses it when a tab is clicked.
This will close #2256

Video demo below. On the left, scrolls to view. On the right, scrolls to center.

Screen.Recording.2023-04-13.at.10.38.42.mov

@willmcgugan
Copy link
Collaborator

Can you add a video of the scroll to center working on tabs?

@rodrigogiraoserrao
Copy link
Contributor Author

Can you add a video of the scroll to center working on tabs?

Added above.

@willmcgugan
Copy link
Collaborator

Looks good!

@rodrigogiraoserrao rodrigogiraoserrao merged commit e32cdbb into main Apr 13, 2023
@rodrigogiraoserrao rodrigogiraoserrao deleted the tabs-scroll-to-center branch April 13, 2023 09:48
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.

Tabs widget should use new scroll_to_center
2 participants