Skip to content

Commit cc021db

Browse files
authored
Merge branch 'dev' into feat/add_health_endpoint_to_Dash_framework
2 parents bbcac8f + 74a30a9 commit cc021db

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1111
- [#3397](https://github.com/plotly/dash/pull/3397) Add optional callbacks, suppressing callback warning for missing component ids for a single callback.
1212
- [#3424](https://github.com/plotly/dash/pull/3424) Adds support for `Patch` on clientside callbacks class `dash_clientside.Patch`, as well as supporting side updates, eg: (Running, SetProps).
1313
- [#3347](https://github.com/plotly/dash/pull/3347) Added 'api_endpoint' to `callback` to expose api endpoints at the provided path for use to be executed directly without dash.
14+
- [#3445](https://github.com/plotly/dash/pull/3445) Added API to reverse direction of slider component.
1415
- [#3465](https://github.com/plotly/dash/pull/3465) Plotly cloud integrations, add devtool API, placeholder plotly cloud CLI & publish button, `dash[cloud]` extra dependencies.
1516

1617
## Fixed

components/dash-core-components/src/components/Slider.react.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,11 @@ Slider.propTypes = {
156156
*/
157157
verticalHeight: PropTypes.number,
158158

159+
/**
160+
* If the value is true, it means the component is rendered reverse.
161+
*/
162+
reverse: PropTypes.bool,
163+
159164
/**
160165
* Additional CSS class for the root DOM node
161166
*/
@@ -208,6 +213,7 @@ Slider.defaultProps = {
208213
persisted_props: ['value'],
209214
persistence_type: 'local',
210215
verticalHeight: 400,
216+
reverse: false,
211217
};
212218

213219
export const propTypes = Slider.propTypes;

components/dash-core-components/src/fragments/Slider.react.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const sliderProps = [
2727
'included',
2828
'tooltip',
2929
'vertical',
30+
'reverse',
3031
'id',
3132
];
3233

dash/dash-renderer/src/components/error/menu/DebugMenu.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ const Debug = ({error, hotReload, config, children}) => {
168168
const errors = concat(error.frontEnd, error.backEnd);
169169

170170
useEffect(() => {
171-
if (error !== null && popup !== 'errors') {
171+
if (errors.length && popup !== 'errors') {
172172
setPopup('errors');
173173
}
174174
}, [error]);

0 commit comments

Comments
 (0)