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

[Feature]: Interactive Tooltips #660

Closed
garrettmflynn opened this issue Mar 11, 2024 · 3 comments
Closed

[Feature]: Interactive Tooltips #660

garrettmflynn opened this issue Mar 11, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@garrettmflynn
Copy link
Member

What would you like to see added to the NWB GUIDE?

As @rly noted in our last meeting, it would be great to allow users to highlight and copy tooltip text. This would allow them to, for instance, take the example strain value on the Subjects table and use this as a reference for their actual values.

This feature is already supported in Tippy natively—but specifying interactive: true results in the inclusion of the tooltip as adjacent HTML to the element it's applied to.

In the case of the Subjects table, this results in the tooltip being cut off because the HandsOnTable styling requires the overflow to be hidden.

I'm not sure if there's a way around this, but we'll need to find one to have interactive tooltips on the Subject table, where we initially thought it would be most useful

Do you have any interest in helping implement the feature?

Yes.

Code of Conduct

Yes

Did you confirm this feature was not already reported?

Yes

@garrettmflynn garrettmflynn added the enhancement New feature or request label Mar 11, 2024
@CodyCBakerPhD
Copy link
Collaborator

@garrettmflynn I think this was fixed/added, correct?

@garrettmflynn
Copy link
Member Author

No I'd tried but ran into the issues described above.

Though this problem is limited to the Subject table. I could simply exclude HandsOnTable elements from this change.

@CodyCBakerPhD
Copy link
Collaborator

Summarized and moved to #846

Re-open again whenever this starts active development

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants