Skip to content

Commit

Permalink
fix(TreeSelect): remove default popup width (#1350)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexandr Isaev <[email protected]>
  • Loading branch information
IsaevAlexandr and IsaevAlexandr authored Feb 14, 2024
1 parent e404161 commit 84044f0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/TreeSelect/TreeSelect.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ $block: '.#{variables.$ns}tree-select';
padding: 4px 0;
border-radius: 6px;
overflow: hidden;
min-width: 300px;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export const InfinityScrollExample = ({
return node;
}}
renderContainer={RenderVirtualizedContainer}
popupWidth={300}
onUpdate={setValue}
slotAfterListBody={
isLoading && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export const WithFiltrationAndControlsExample = ({
{...treeSelectProps}
multiple
open={open}
popupWidth={350}
onOpenChange={onOpenChange}
slotBeforeListBody={
<TextInput
Expand Down

0 comments on commit 84044f0

Please sign in to comment.