Skip to content

Commit

Permalink
fix: drawer click outside event should not stopPropagation
Browse files Browse the repository at this point in the history
  • Loading branch information
Lufan You authored and fengtianze committed May 20, 2024
1 parent 11caa9d commit ba7523a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/drawer/drawer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export class DrawerService<
event.target instanceof Node &&
!this.overlayRef.hostElement?.parentNode?.contains(event.target)
) {
event.stopPropagation();
event.preventDefault();
this.drawerRef.close();
}
Expand Down

0 comments on commit ba7523a

Please sign in to comment.