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

Component: Tooltip needs always visible option #13896

Closed
pclancy opened this issue Oct 17, 2023 · 2 comments
Closed

Component: Tooltip needs always visible option #13896

pclancy opened this issue Oct 17, 2023 · 2 comments
Labels
Status: Discussion Issue or pull request needs to be discussed by Core Team Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible Type: New Feature Issue contains a new feature or new component request

Comments

@pclancy
Copy link

pclancy commented Oct 17, 2023

Describe the feature you would like to see added

We need to be able to show tooltips on mobile devices, e.g. using the speed dial control there is no way for the user to know what each icon means without some textual context.

Is your feature request related to a problem?

Users cannot tell what the option in a speed dial does without any textual context. The speed dial would otherwise be a great component for mobile users.

Describe the solution you'd like

Ideally extend the current tooltipEvent prop to have an "Always" or "None" event type that means the tooltip is always shown.

Describe alternatives you have considered

CSS overrides won't work since the tooltip element isn't rendered until the tooltipEvent occurs.

Additional context

No response

@pclancy pclancy added Status: Discussion Issue or pull request needs to be discussed by Core Team Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible Type: New Feature Issue contains a new feature or new component request labels Oct 17, 2023
@dzmcclure-qcells
Copy link

dzmcclure-qcells commented Oct 17, 2023

Ran into the same issue with tooltips, and to solve this by extending the directive is IMO a little messy. Particularly in my use case of attaching a tooltip to an element with dynamic position. You need to override all of the default behavior to hide the tooltip, while preserving desired behavior.

If I remember correctly, a workaround could be to use the functions from the Tooltip to unbind all of the event listeners, and then use the show() method to activate it.

@mertsincan
Copy link
Member

Hi,

So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you open a new issue so we can include it in our roadmap?

Thanks a lot for your understanding!
Best Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Discussion Issue or pull request needs to be discussed by Core Team Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

No branches or pull requests

3 participants