Skip to content

MudMenu Fails to Close When Translated: Remains Open on Page Clicks #10010

@Schlutzkrapfen

Description

@Schlutzkrapfen

Things to check

  • I have searched the existing issues for this bug
  • To rule out a caching problem I made sure the bug also happens in an incognito tab

Bug type

Component

Component name

MudMenu

What happened?

When a MudMenu is opened within an element (or a parent element) that has style: transform: translate(...), the menu fails to close when clicking anywhere on the page. Instead, it only closes when clicking within its parent element or when clicking the buttons.

Expected behavior

It should close everywhere when you click somewhere

Reproduction link

https://try.mudblazor.com/snippet/GkmyFEPynPJEgTQh

Reproduction steps

1.Make a MudMenu
2.give it the style: transform: translate(0px, 0px)
3.Click on the MudMenu
4.Try to close it.

Relevant log output

No response

Version (bug)

7.11.0 6.21.0

Version (working)

No response

What browsers are you seeing the problem on?

Firefox, Edge

On which operating systems are you experiencing the issue?

Windows

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

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