-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
SelectButton: tooltips #2953
Comments
Rakasch
added
the
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
label
Sep 9, 2022
Would probaby make sense to have the same for button-classes and style, too. |
See #4286 |
tugcekucukoglu
removed
the
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
label
Aug 18, 2023
I have found a workaround (ugly, but it works) : In your template add a div with the tooltip you want, for instance :
Then add following CSS to apply the div on the whole button surface ;
The example uses title attribute as tooltip but it can be used with tooltip directive i guess. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the feature you would like to see added
I want to be able to add tooltips on each single button within the component.
The tooltip should be attached to the wrapping .p-button.
Currently the only way to add tooltip is to add it within the template of the content.
The problem with that is: If you add the tooltip within the template, you have the tooltip only on the inner rectangle.
The button has a huge padding around the content, that does not have the tooltip.
Is your feature request related to a problem?
No response
Describe the solution you'd like
Would like to have a component property, for tooltips.
eg.
'optionTooltip' = Property name or getter function to use as the value of the tooltip.
'optionTooltipDirection' = Property name or getter function for the direction of the displayed tooltip (top, bottom, left, right)
Describe alternatives you have considered
No response
Additional context
reopened issue #2252
The text was updated successfully, but these errors were encountered: