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

Change the scroll behavior when clicking notebook sections #2705

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

hugobarauna
Copy link
Member

This PR changes the UI scrolling behavior when clicking a section in the section's sidebar.

This idea came up when I was watching a talk from Bruce Tate at an event. His whole talk was live coding using Livebook. After clicking the section items in the sidebar a few times, he said to the audience, "Are you feeling dizzy? I know I am."

While working on Livebook apps, I use the section navigation to help me navigate the codebase. I also noticed that the repeating smooth scrolling effect makes me feel a little bit dizzy.

This PR changes the scroll behavior from "smooth" to "instant."

Before

Link to video: https://share.cleanshot.com/jFB0bqWr

After

Link to video: https://share.cleanshot.com/gpFYvtdp

Copy link

github-actions bot commented Jul 11, 2024

Uffizzi Preview deployment-54113 was deleted.

@jonatanklosko jonatanklosko merged commit de79bc6 into main Jul 12, 2024
8 checks passed
@jonatanklosko jonatanklosko deleted the hb-change-section-scroll-behavior branch July 12, 2024 08:21
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.

3 participants