Skip to content

Commit

Permalink
Merge pull request #4264 from nextcloud/deps/nextcloud/vue-select-3.23.0
Browse files Browse the repository at this point in the history
  • Loading branch information
raimund-schluessler authored Jun 23, 2023
2 parents 68b3f9e + d15f797 commit a92a39e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 19 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@nextcloud/l10n": "^2.0.1",
"@nextcloud/logger": "^2.2.1",
"@nextcloud/router": "^2.0.0",
"@nextcloud/vue-select": "^3.21.2",
"@nextcloud/vue-select": "^3.23.0",
"@skjnldsv/sanitize-svg": "^1.0.2",
"@vueuse/components": "^10.0.2",
"@vueuse/core": "^10.1.2",
Expand Down
27 changes: 13 additions & 14 deletions src/components/NcSelect/NcSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,15 @@ export default {
default: 'bottom',
},
/**
* If false, the focused dropdown option will not be reset when filtered
* options change
*/
resetFocusOnOptionsChange: {
type: Boolean,
default: true,
},
/**
* Enable the user selector with avatars
*
Expand Down Expand Up @@ -1040,6 +1049,10 @@ body {
.vs__selected-options {
flex-wrap: nowrap;
overflow: auto;
min-width: unset;
.vs__selected {
min-width: unset;
}
}
}
Expand All @@ -1063,20 +1076,6 @@ body {
}
}
/**
* Fix overlow of selected options
* There is an upstream pull request, if it is merged and released remove this fix
* https://github.com/sagalbot/vue-select/pull/1756
*/
&:not(.select--no-wrap) {
.vs__selected-options {
min-width: 0;
.vs__selected {
min-width: 0;
}
}
}
&.vs--single {
&.vs--loading,
&.vs--open {
Expand Down

0 comments on commit a92a39e

Please sign in to comment.