Skip to content

md-slider distortion when value bigger than min or max is assigned #1557

@stanislavgatsev

Description

@stanislavgatsev

Bug, feature request, or proposal:

Bug

What is the expected behavior?

When value bigger than max or smaller than min is set to the slider the thumb should stay at the end of the track.

What is the current behavior?

Now the thumb goes out of the track.

What are the steps to reproduce?

<md-slider [(ngModel)]="sliderValue" min="{{sliderValueMin}}" max="{{sliderValueMax}}" value="{{sliderValue}}">

When slider value is changed in order to exceed limits.

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

When slider is connected to another text input control and user puts invalid value in the input.

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

Angular 2.0.0, Material 2.0.0-alpha.8-2, All, All

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthelp wantedThe team would appreciate a PR from the community to address this issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions