Skip to content

MdHint causes MdTab to show scrollbar #4051

@julianobrasil

Description

@julianobrasil

Bug, feature request, or proposal:

Bug: MdTab shows the vertical scroll bar when it contains an md-hint inside input-container.

What is the expected behavior?

MdTab not showing the vertical scroll bar when using md-hint inside

What is the current behavior?

It's showing vertical scrollbar when I use md-hint in input-container

What are the steps to reproduce?

Try to put and remove the md-hint of this plunker: https://plnkr.co/edit/3jAsCcMtnDr3Sh39LMap?p=preview

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

Use md-hint

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

@angular/animations: 4.0.1
@angular/cli: 1.0.0
@angular/common: 4.0.1
@angular/compiler: 4.0.1
@angular/compiler-cli: 4.0.1
@angular/core: 4.0.1
@angular/flex-layout: 2.0.0-beta.7
@angular/forms: 4.0.1
@angular/http: 4.0.1
@angular/material: 2.0.0-beta.3
@angular/platform-browser: 4.0.1
@angular/platform-browser-dynamic: 4.0.1
@angular/platform-server: 4.0.1
@angular/router: 4.0.1

Is there anything else we should know?

As a workaround I'm using in styles.css

.mat-tab-body {
overflow-y: hidden !important;
}

but not sure about side efects of doing it.

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