You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 3, 2024. It is now read-only.
Omit marks that are outside of range specified by min and max. (#695)
* Omit marks that are outside of range specified by min and max.
* Handle case in which marks prop is not defined.
* Add test for out-of-range numbers.
* Use pickBy.
* Add mark at point below minimum value.
* Also omit out-of-range marks for slider.
* Add test for slider.
* Add padding to Slider and RangeSlider containers.
* Update test for persistence.
With the new padding values, the '0' selection is no longer at the very edge of the container div.
* Change test for always visible rangeslider.
* Only add top padding if there are always-visible tooltips on the top.
* Preserve whitespace in marks.
* Add optional verticalHeight prop for vertical sliders.
* Update slider stylesheet.
* Update coordinates to reflect new padding.
* Remove file.
* Use fixed-width slider for rangeslider test.
* Fix persistence test.
* Memoize computation of style and move function to utils.
* Simplify style code.
* Fix eslint errors.
* Modify style object directly.
* Update CHANGELOG.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,17 @@
2
2
All notable changes to this project will be documented in this file.
3
3
This project adheres to [Semantic Versioning](http://semver.org/).
4
4
5
+
## [Unreleased]
6
+
7
+
### Changed
8
+
-[#695](https://github.com/plotly/dash-core-components/pull/695) Improvements to Slider and RangeSlider
9
+
- Marks outside of the range specified by `min` and `max` are now omitted when the slider renders.
10
+
- Padding is now dependent on the orientation (vertical or horizontal), and whether or not tooltips are always displayed.
11
+
- The whitespace is now preserved for `marks` labels.
12
+
13
+
### Added
14
+
-[#695](https://github.com/plotly/dash-core-components/pull/695) Added new property `verticalHeight` to Slider and RangeSlider, to allow the user to specify the height (in px) of vertical sliders. This defaults to `400`.
15
+
5
16
## [1.5.1] - 2019-11-14
6
17
### Fixed
7
18
-[#696](https://github.com/plotly/dash-core-components/pull/696) Fix IE11 compatibility issues and ES5 compatibility and validation
0 commit comments