Skip to content

Commit

Permalink
useDialog: remove mousedown propagation stopping (#27725)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix authored Dec 15, 2020
1 parent 9a36622 commit af885fd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/compose/src/hooks/use-dialog/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ function useDialog( options ) {
onClose.current();
}
} );

node.addEventListener( 'mousedown', ( event ) => {
// I'm not really certain what this is for but it matches the previous behavior.
event.stopPropagation();
} );
}, [] );

return [
Expand Down

0 comments on commit af885fd

Please sign in to comment.