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

Only toggle sidebar if it is closed #305

Merged
merged 1 commit into from
Aug 24, 2024
Merged

Conversation

MatheusRich
Copy link
Contributor

We were toggling the sidebar regardless of whether it was open or closed. This caused the back button to close the sidebar on the desktop instead of opening it (because it was already open).

We were toggling the sidebar regardless of whether it was open or closed.
This caused the back button to close the sidebar on the desktop instead
of opening it (because it was already open).
@MatheusRich
Copy link
Contributor Author

@fxn sorry for the back and forth! Hopefully this is sorted out now.

@fxn fxn merged commit bd303bf into rails:main Aug 24, 2024
1 check passed
@fxn
Copy link
Member

fxn commented Aug 24, 2024

It does not seem to be working yet. The label should never be visible in desktop, closed or disclosed.

CleanShot 2024-08-24 at 23 52 51@2x

@MatheusRich MatheusRich deleted the fix-sidebar-toggle branch August 24, 2024 22:01
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.

2 participants