Skip to content

MudCombox doesn't work inside a popover/overlay. #573

@CyrilPaulus

Description

@CyrilPaulus

Using MudCombox inside an existing popover/overlay makes the combo box unclickable because the z-index of the original overlay is wrongly increased and then MudCombobx is then under this overlay. Clicking then close the overlay

Image

After some investigation the problem come from this line:

<MudPopover Open="true" MaxHeight="@MaxHeight" AnchorOrigin="@AnchorOrigin" TransformOrigin="@TransformOrigin" OverflowBehavior="OverflowBehavior.FlipAlways" Class="@PopoverClassname" RelativeWidth="@RelativeWidth">

The Open property of the MudPopOver is always set to true, but its content is hidden using style.
Binding instead this property to _isOpen seems to fix the problem.

Image

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