-
Notifications
You must be signed in to change notification settings - Fork 160
Improve the tooltip system #949
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
Comments
Overall the tooltip mechanism is old and could get some love. |
Setting the tooltip as CleanShot.2025-01-02.at.11.17.50.mp4I was not aware of the CSS Anchor, but like you said current support is not good enough 72 % for Desktop. It also seems like this is more focus on |
I suppose we can try the Tippy thing. |
@nojaf I came up with the same conclusion regarding the changes required I will have a look at it. |
I will probably explore the tooltip rewrite once #929 is done. This is because right now, there are some tooltips generated at placed which will not have tooltips anymore. CleanShot.2025-01-02.at.20.21.06.mp4 |
The current tooltip system does the job but is basic.
While navigating website generated by F# Formatting, I am often frustrated by the inconsistency in the tooltip system.
You can't go inside of the tooltip to select or copy something from it:
CleanShot.2024-12-30.at.21.21.55.mp4
The tooltip placement depends on where you initially place your mouse cursor:
CleanShot.2024-12-30.at.21.23.24.mp4
Working with tooltip is difficult, and could be a good candidate for an external library? Would you be ok with a proposition to use a library like Tippy.js for example?
I am proposing Tippy.js because it was one of the first result from Google and it seems to do what would be needed:
top-start
to be similar to IDE behavior and it handle screen overflowThe text was updated successfully, but these errors were encountered: