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

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

@MalcolmDwyer

Description

@MalcolmDwyer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions