Skip to content

Commit b0bb8de

Browse files
authored
Merge pull request #3322 from plotly/release/dash-3.1.0
Update changelog & merge 3.1 feature.
2 parents a5ff987 + 649d0b1 commit b0bb8de

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,19 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1010
- [#3298](https://github.com/plotly/dash/pull/3298) Fix dev_only resources filtering.
1111
- [#3315](https://github.com/plotly/dash/pull/3315) Fix pages module is package check.
1212
- [#3319](https://github.com/plotly/dash/pull/3319) Fix issue where `ExternalWrapper` would remove props from the parent component, now there is a `temp` that is passed to check if it should be removed on unmount.
13+
- [#3108](https://github.com/plotly/dash/pull/3108) Fix layout as list for pages.
14+
- [#1906](https://github.com/plotly/dash/pull/1906) Make graph height more responsive.
15+
- [#2927](https://github.com/plotly/dash/pull/2927) Fix unexpected behaviour of the cursor in dcc.Input
1316

1417
## Added
1518
- [#3294](https://github.com/plotly/dash/pull/3294) Added the ability to pass `allow_optional` to Input and State to allow callbacks to work even if these components are not in the dash layout.
1619
- [#3077](https://github.com/plotly/dash/pull/3077) Add new parameter `assets_path_ignore` to `dash.Dash()`. Closes [#3076](https://github.com/plotly/dash/issues/3076)
20+
- [#3202](https://github.com/plotly/dash/pull/3202) expose the closeMenuOnSelect option in dropdown component
21+
22+
## Changed
23+
24+
- [#3303](https://github.com/plotly/dash/pull/3303) Improve flatten_grouping performance (callback with dictionary output/input)
25+
- [#3304](https://github.com/plotly/dash/pull/3304) Speed up function _operation by 80%
1726

1827
## [3.0.4] - 2025-04-24
1928

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,11 @@ Dropdown.propTypes = {
145145
*/
146146
disabled: PropTypes.bool,
147147

148+
/**
149+
* If false, the menu of the dropdown will not close once a value is selected.
150+
*/
151+
closeMenuOnSelect: PropTypes.bool,
152+
148153
/**
149154
* height of each option. Can be increased when label lengths would wrap around
150155
*/
@@ -214,6 +219,7 @@ Dropdown.defaultProps = {
214219
searchable: true,
215220
optionHeight: 35,
216221
maxHeight: 200,
222+
closeMenuOnSelect: true,
217223
persisted_props: ['value'],
218224
persistence_type: 'local',
219225
};

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const RDProps = [
3333
'maxHeight',
3434
'style',
3535
'className',
36+
'closeMenuOnSelect',
3637
];
3738

3839
const Dropdown = props => {

0 commit comments

Comments
 (0)