Skip to content

[Tooltip] Does not work within mat-placeholder #3823

Closed
@aldo-roman

Description

@aldo-roman

Bug, feature request, or proposal:

Bug

What is the expected behavior?

A mdTooltip element should display a tooltip if placed within a md-placeholder tag

What is the current behavior?

mdTooltip within a md-placeholder tag does not display

What are the steps to reproduce?

http://plnkr.co/edit/QAOYgSzLBpbM3ifmgQLL

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

I want to display an info icon next to the placeholder (always floating) with an informative tooltip

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

Can confirm for Angular 4, Material HEAD

Is there anything else we should know?

It seems the hover event is being captured by md-input-container and does not allow the mdTooltip to know when the user is hovering the cursor on it.

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/tooltipneeds: 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