Skip to content

slider tick spacing alignment incorrect #5895

@dexster

Description

@dexster

Bug, feature request, or proposal:
Bug

What is the expected behavior?
Tick spacing should be consistent

What is the current behavior?
There is a bigger gap between the second to last and last tick

What are the steps to reproduce?
It works fine until you have more than 8 ticks. This slider will show the issue
<md-slider min="0" max="10" tickInterval="1"></md-slider>

Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 4.2.6
Angular Material 2.0.0-beta.8

Screenshot
From your demo site
screen shot 2017-07-20 at 8 32 00 am

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: material/slider

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions