Skip to content

Commit

Permalink
Stop click event propagation for nested dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
gavhuang committed Jul 18, 2023
1 parent b5fbd5d commit 7055d6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions playbook/app/pb_kits/playbook/pb_dialog/dialogHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const dialogHelper = () => {

if (clickedOutsideDialogBox) {
dialogElement.close()
event.stopPropagation()
}
})
})
Expand Down

0 comments on commit 7055d6e

Please # to comment.