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

Fix sidebar toggle flickering on page load #1868

Merged
merged 2 commits into from
Feb 20, 2024
Merged

Conversation

simonprev
Copy link
Contributor

This prevent the animation from triggering after every page load. The margin/padding have also been adjusted to prevent flickering on toggle click.

You can see the before/after here where I showcase a toggle and a page refresh:

Before After
Screen.Recording.2024-02-20.at.10.15.18.AM.mov
Screen.Recording.2024-02-20.at.10.14.40.AM.mov

The small viewport view looks the same:
image

@josevalim josevalim merged commit 5962468 into elixir-lang:main Feb 20, 2024
4 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants