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

Enhancement: make calcite-tooltip delay customizable #2778

Closed
hccampos opened this issue Aug 10, 2021 · 8 comments
Closed

Enhancement: make calcite-tooltip delay customizable #2778

hccampos opened this issue Aug 10, 2021 · 8 comments
Assignees
Labels
1 - assigned Issues that are assigned to a sprint and a team member. design Issues that need design consultation prior to development. enhancement Issues tied to a new feature or request. estimate - 2 Small fix or update, may require updates to tests. p - high Issue should be addressed in the current milestone, impacts component or core functionality

Comments

@hccampos
Copy link

hccampos commented Aug 10, 2021

Description

In certain cases the tooltips can be very easy to miss due to the long delay of 500ms. It would be nice to be able to customize the delay.

If we don't want to allow specifying the delay in milliseconds, we could support fast, slow, none or something similar.

Thoughts?

SVCH

@hccampos hccampos added 0 - new New issues that need assignment. enhancement Issues tied to a new feature or request. needs triage Planning workflow - pending design/dev review. labels Aug 10, 2021
@driskull
Copy link
Member

Yeah that sounds good. @julio8a @asangma thoughts?

@julio8a
Copy link

julio8a commented Aug 10, 2021

Yes, this will be a good enhancement. I've noticed this too when hovering over elements with tooltips. Sometime I look somewhere else and notice that the tooltip shows up. Franco and I will triage this.

@hccampos
Copy link
Author

Great! Then I can probably contribute a PR for this, if you don’t get to it before. Just let me know once it’s ready for development/triaged.

@driskull
Copy link
Member

If you can create a PR that would be great!

@yannikmesserli
Copy link

Part of the same integration that triggers this feature request, SV also used to hide certain tooltips when the mouse was over. E.g. in this situation, the tooltip goes over the close button, so the user would be annoyed to move away to get to the button:
2021-08-13 12 20 31

Can we also add a new option in the tooltip to hide on mouse over? e.g. hideOnOver={true} or something similar?

@driskull
Copy link
Member

Yeah could we get a separate issue for that?

@hccampos
Copy link
Author

hccampos commented Aug 13, 2021

@yannikmesserli that one isn't really an issue. It is happening because we're placing the tooltip inside of the menu item. If the tooltip is placed outside (e.g. as a sibling) then the tooltip does get hidden when moving the mouse away from the menu item.

Nevermind, I managed to repro it.

@julio8a julio8a self-assigned this Sep 24, 2021
@julio8a julio8a removed their assignment Dec 14, 2021
@macandcheese macandcheese added the design Issues that need design consultation prior to development. label Jun 29, 2022
@brittneytewks brittneytewks added p - high Issue should be addressed in the current milestone, impacts component or core functionality estimate - 2 Small fix or update, may require updates to tests. and removed needs triage Planning workflow - pending design/dev review. labels Feb 22, 2023
@geospatialem geospatialem added 1 - assigned Issues that are assigned to a sprint and a team member. and removed 0 - new New issues that need assignment. labels Mar 3, 2023
@geospatialem
Copy link
Member

Closing in favor of #6396

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - assigned Issues that are assigned to a sprint and a team member. design Issues that need design consultation prior to development. enhancement Issues tied to a new feature or request. estimate - 2 Small fix or update, may require updates to tests. p - high Issue should be addressed in the current milestone, impacts component or core functionality
Projects
None yet
Development

No branches or pull requests

9 participants