Skip to content

Commit

Permalink
fix(cascader): cascader position (#1687)
Browse files Browse the repository at this point in the history
  • Loading branch information
berber1016 committed Dec 15, 2021
1 parent b763aa1 commit f5fced9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/list/inner/CascaderItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const CascaderItem: React.ForwardRefRenderFunction<
placement="rightTop"
overlayClassName={popoverClassName}
// document click contains node
getContainer={(node) => node.parentElement || node || document.body}
getContainer={(node) => node || document.body}
content={content()}
strategy="fixed"
distoryOnHide={false}
Expand Down

1 comment on commit f5fced9

@vercel
Copy link

@vercel vercel bot commented on f5fced9 Dec 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.