Skip to content

Feature Request : Viewport constrained Tooltip #2548

Description

@vincentdemers-glitch

Is your feature request related to a problem? Please describe.
Tooltips with large html content trigger a document height increase. This causes a vertical scrollbar to appear in the document and in turn triggers a MouseLeave on the element we open the tooltip for.

Describe the solution you'd like
Having an option to prevent the tooltip from enlarging the vertical space by having a scrollable tooltip content when the content size would cause a vertical overflow.

Describe alternatives you've considered
Currently, we limit the vertical space the tooltip can take to a discrete value and have overflow-y set to auto on the content, but it would be nice if the available window space was calculated to auto-size the tooltip and automatically add a scrollbar for the tooltip content if needed.

Additional context
See this playground : https://blazor.radzen.com/playground/04417b31-93b0-44c7-98bd-073285b46709
Hovering at the edge of the button causes the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions