Skip to content

[mat-menu] support horizontal (xPosition) overlap detection #8400

@shlomiassaf

Description

@shlomiassaf

Bug, feature request, or proposal:

feature

What is the expected behavior?

When [overlapTrigger] is false the menu will NOT overlap on the horizontal axis (xPosition)

What is the current behavior?

The horizontal axis is overlapping the triggering element wether overlapTrigger is true/false.

What is the use-case or motivation for changing an existing behavior?

Per the docs, the overlapTrigger should respect both x and y.
It is also a valid requirement.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

angular 5, material 5.0.0-rc0

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: material/menufeatureThis issue represents a new feature or feature request rather than a bug or bug fixneeds: discussionFurther discussion with the team is needed before proceeding

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions