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

Docs website - Hover on side menu instantly opens drawer #592

Open
MalcolmDwyer opened this issue Oct 26, 2023 · 0 comments
Open

Docs website - Hover on side menu instantly opens drawer #592

MalcolmDwyer opened this issue Oct 26, 2023 · 0 comments

Comments

@MalcolmDwyer
Copy link

MalcolmDwyer commented Oct 26, 2023

Thanks for the great docs!

Small nit: On the https://www.apollographql.com/docs/ site, the left-side menu with [Welcome | SDKs | GraphOS] opens a drawer instantly when the mouse touches it. Depending on window size, this will usually cover up part of the page content. And then it requires a click to on the page to close the drawer again.

I often have these docs up on the right side of my monitor, and my code on the left, and every time I slide the mouse back and forth between the two windows, this drawer pops open and covers what I'm trying to read. Personally, I find this very irritating, so I'm hoping it's a 1-liner fix that would improve the experience. I think even a small delay before triggering the drawer would help a lot.

https://github.com/apollographql/docs/blob/main/src/components/Sidebar/Sidebar.js#L130

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

No branches or pull requests

1 participant