Skip to content

Commit

Permalink
fix(create-select-styles): preserve default behavior for multi select (
Browse files Browse the repository at this point in the history
…#2833)

* fix(create-select-styles): preserve default behavior for multi

* chore(select-utils): add changeset
  • Loading branch information
dogayuksel authored Jun 3, 2024
1 parent 42fd117 commit 625ebba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/forty-tips-deny.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@commercetools-uikit/select-utils': patch
---

Allow select inputs with multiple items to wrap.
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ const placeholderStyles = (props: TProps) => (base: TBase) => {
const valueContainerStyles = (props: TProps) => (base: TBase) => {
return {
...base,
flexWrap: 'nowrap',
...(!props.isMulti && { flexWrap: 'nowrap' }),
padding: '0',
backgroundColor: 'none',
overflow: 'hidden',
Expand Down

0 comments on commit 625ebba

Please sign in to comment.