Skip to content

Commit 593d577

Browse files
chrisrolfe198Chris Rolfe
andauthored
feat: update combobox to mark the popover as nonmodal (#582)
Co-authored-by: Chris Rolfe <chris.rolfe@free-now.com>
1 parent 790644d commit 593d577

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/components/experimental/ComboBox/ComboBox.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,11 @@ function ComboBoxComponent<T extends Record<string, unknown>>(
134134
/>
135135
<Footer>{isInvalid ? <FieldError>{errorMessage}</FieldError> : description}</Footer>
136136
</Wrapper>
137-
<Popover triggerRef={triggerRef} style={{ '--trigger-width': menuWidth } as React.CSSProperties}>
137+
<Popover
138+
triggerRef={triggerRef}
139+
style={{ '--trigger-width': menuWidth } as React.CSSProperties}
140+
isNonModal
141+
>
138142
<ListBox renderEmptyState={renderEmptyState}>{children}</ListBox>
139143
</Popover>
140144
</>

0 commit comments

Comments
 (0)