Skip to content

Make tooltip persist on click instead of on hover during visualization #29

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

Closed
joshjms opened this issue May 13, 2025 · 2 comments
Closed

Comments

@joshjms
Copy link
Contributor

joshjms commented May 13, 2025

We should have the option to make the tooltip persist on the screen when the associated block is clicked. It is very difficult to keep hovering while scrolling down when the contents of the tooltip is long (see below image). For additional context, the image below is screenshot by inspecting the tooltip element and manually setting display: block.

Image

Reference: etcd-io/etcd#19901, etcd-io/etcd#19933

@joshjms joshjms changed the title Make tooltip persist on click instead of on hover Make tooltip persist on click instead of on hover during visualization May 13, 2025
@anishathalye
Copy link
Owner

Great idea; we could also show a bigger tooltip on click rather than hover. Will add this to my todo list (also happy to accept a pull request if anyone wants to work on the visualization/index.js that is a little bit spaghetti code 🙃).

@joshjms
Copy link
Contributor Author

joshjms commented May 13, 2025

Thanks, I'll try to work on it!

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

2 participants