Skip to content

Commit

Permalink
disable portal to allow paning over handle menus (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
lihebi committed Aug 5, 2023
1 parent c415bc7 commit 5475091
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ui/src/components/nodes/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,12 @@ const WrappedHandle = ({ position, children }) => {
onClick={handleClick}
/>

<Popper open={open} anchorEl={anchorEl} placement={position}>
<Popper
open={open}
anchorEl={anchorEl}
placement={position}
disablePortal={true}
>
<ClickAwayListener
onClickAway={() => {
setAnchorEl(null);
Expand Down

0 comments on commit 5475091

Please sign in to comment.