Skip to content

Commit 53a6c07

Browse files
authored
fix(select.tsx): transmit __selectScope to PopperContent
the attrs below (...contentProps), lost '__selectScope'
1 parent 36d954d commit 53a6c07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/select/src/select.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,8 +536,8 @@ const Slot = createSlot('SelectContent.RemoveScroll');
536536

537537
const SelectContentImpl = React.forwardRef<SelectContentImplElement, SelectContentImplProps>(
538538
(props: ScopedProps<SelectContentImplProps>, forwardedRef) => {
539+
const { __scopeSelect } = props
539540
const {
540-
__scopeSelect,
541541
position = 'item-aligned',
542542
onCloseAutoFocus,
543543
onEscapeKeyDown,

0 commit comments

Comments
 (0)