Skip to content

Commit

Permalink
fix(web): filter drop-down closes by itself when the condition is sel…
Browse files Browse the repository at this point in the history
…ectable (#1149)

fix: filter closing bug
  • Loading branch information
caichi-t authored and yk-eukarya committed Oct 1, 2024
1 parent aad624f commit 8ce9091
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ const DropdownRender: React.FC<Props> = ({
<Select
placeholder="Select the value"
onSelect={onValueSelect}
defaultValue={defaultValue?.value?.toString()}>
defaultValue={defaultValue?.value?.toString()}
getPopupContainer={trigger => trigger.parentNode}>
{valueOptions.map(option => (
<Option key={option.value} value={option.value} label={option.label}>
{filter.type === "Tag" ? (
Expand Down

0 comments on commit 8ce9091

Please sign in to comment.