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

[FluentTooltip] Add the HideTooltipOnCursorLeave property #1571

Merged
merged 5 commits into from
Feb 26, 2024

Conversation

dvoituron
Copy link
Collaborator

[FluentTooltip] Add the HideTooltipOnCursorLeave property

Following request #1564, we have added a HideTooltipOnCursorLeave attribute to FluentTooltip components and also for global configuration.

builder.Services.AddFluentUIComponents(configuration =>
{
    configuration.HideTooltipOnCursorLeave = true;
});

This allows you to keep the default behavior
Tooltip-Before

But also to activate a new behavior.
Tooltip-After

@vnbaaij vnbaaij self-requested a review February 26, 2024 12:55
@vnbaaij vnbaaij enabled auto-merge (squash) February 26, 2024 12:56
@vnbaaij vnbaaij merged commit c28d107 into dev Feb 26, 2024
4 checks passed
@vnbaaij vnbaaij deleted the users/dvoituron/tooltip-close-on-cursor-leave branch February 26, 2024 13:01
vnbaaij added a commit that referenced this pull request Mar 6, 2024
* Add CloseTooltipOnCursorLeave

* Rename to HideTooltipOnCursorLeave

* Update doc

---------

Co-authored-by: Vincent Baaij <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants