Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

fix(slider): Don't throw error when markup min is greater than default max #3315

Merged
merged 5 commits into from
Dec 13, 2018
Merged

fix(slider): Don't throw error when markup min is greater than default max #3315

merged 5 commits into from
Dec 13, 2018

Conversation

pvogel2
Copy link
Contributor

@pvogel2 pvogel2 commented Aug 8, 2018

fixes #2269
Added test for custom range triggering the issue.

pvogel2 added 2 commits August 8, 2018 15:59
If min value is greater than default max value assigment of custom range fails.
@codecov-io
Copy link

codecov-io commented Aug 8, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@33d30e6). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #3315   +/-   ##
=========================================
  Coverage          ?   98.84%           
=========================================
  Files             ?      127           
  Lines             ?     5628           
  Branches          ?      746           
=========================================
  Hits              ?     5563           
  Misses            ?       65           
  Partials          ?        0
Impacted Files Coverage Δ
packages/mdc-slider/index.js 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 33d30e6...31173f9. Read the comment docs.

@acdvorak acdvorak self-requested a review December 13, 2018 20:43
@acdvorak acdvorak self-assigned this Dec 13, 2018
Copy link
Contributor

@acdvorak acdvorak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks pvogel2@ 😀

@acdvorak acdvorak added this to the v0.43.0 milestone Dec 13, 2018
@acdvorak acdvorak merged commit 5fe0c62 into material-components:master Dec 13, 2018
@acdvorak acdvorak changed the title fix(slider): Slider error if min is greater than default max value of 100 fix(slider): Don't throw error when markup min is greater than default max Dec 14, 2018
adrianschmidt pushed a commit to Lundalogik/material-components-web that referenced this pull request Jan 4, 2019
…t max (material-components#3315)

Fixes [material-components#2269](material-components#2269)

Added test for custom range triggering the issue.

(cherry picked from commit 5fe0c62)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slider error if min is greater than default max value of 100
4 participants