Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix slider marks and steps bugs #1857

Merged
merged 14 commits into from
Dec 15, 2021
Merged

Fix slider marks and steps bugs #1857

merged 14 commits into from
Dec 15, 2021

Conversation

HammadTheOne
Copy link
Contributor

@HammadTheOne HammadTheOne commented Dec 6, 2021

This PR addresses the Slider bugs brought up in #1851 and #1843.

Changes in this PR:

  • Fixed a regression where steps were not being set to marks if None was passed as the prop argument.
  • Added a check to set the min and max based on the range of marks if they are not explicitly defined.

TODO:

  • Add additional tests for slider marks and steps.

  • Add CHANGELOG entry.

Closes #1851
Closes #1843

Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

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

💃 Love it - just one small comment. Great tests!

@alexcjohnson alexcjohnson merged commit 94cbc3b into dev Dec 15, 2021
@alexcjohnson alexcjohnson deleted the fix-slider-marks branch December 15, 2021 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants