Skip to content

DnD broken when matTooltip applied #12163

@chriswhite199

Description

@chriswhite199

Bug, feature request, or proposal:

Bug

What is the expected behavior?

matTooltip shouldn't break DnD behavior

What is the current behavior?

Application of matTooltip breaks native DnD behavior

What are the steps to reproduce?

Add matTooltip directive to an element that is also draggable

StackBlitz example: https://stackblitz.com/edit/angular-material2-issue-xsqsew

<button mat-raised-button draggable="true" matTooltip="Tooltip breaks dnd">DnD broken</button>
<button mat-raised-button draggable="true">DnD works</button>

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

Angular: v6.3.0

Metadata

Metadata

Labels

P4A relatively minor issue that is not relevant to core functions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions