Skip to content

Commit

Permalink
fix(editor): 🐛 Settings modal moving block
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Feb 19, 2022
1 parent 341cd15 commit 3456e5a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ export const SettingsModal = ({
onClose,
...props
}: Props & ModalBodyProps) => {
const handleMouseDown = (e: React.MouseEvent) => {
e.stopPropagation()
}
return (
<Modal isOpen={isOpen} onClose={onClose}>
<ModalOverlay />
<ModalContent>
<ModalContent onMouseDown={handleMouseDown}>
<ModalHeader mb="2">
<ModalCloseButton />
</ModalHeader>
Expand Down

2 comments on commit 3456e5a

@vercel
Copy link

@vercel vercel bot commented on 3456e5a Feb 19, 2022

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3456e5a Feb 19, 2022

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

builder-v2 – ./apps/builder

builder-v2-typebot-io.vercel.app
builder-v2-git-main-typebot-io.vercel.app
app.typebot.io

Please sign in to comment.