Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant