Skip to content

Conversation

@ritorhymes
Copy link

Description

The mobile sidebar on the FAQ and other pages instantly appears and disappears when toggled and it feels jarring to have the layout jump so quickly. Also when the mob-sidebar-open button isn't fixed, hiding and revealing it causes a noticeable layout shift for the content underneath it.

This modification will:

  • Add smooth slide and fade transitions to the mobile sidebar upon toggle
  • Change mob-sidebar-open button to fade in/out instead of display:none
  • Keep mob-sidebar-open button in DOM flow when hidden to prevent layout shift

The layout and structure should appear identical to the original (minus the layout shift).

Before & After Demo

bitcoinsidebar.webm

- Add slide and fade transitions to mobile sidebar
- Change mob-sidebar-open button to fade in/out instead of display:none
- Keep button in DOM flow when hidden to prevent layout shift
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.

1 participant