Skip to content

Commit

Permalink
feat(modal): change comment for modal component
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiRosu committed Aug 23, 2024
1 parent 81b26ac commit fc94c40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/canopy/src/lib/modal/modal.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class LgModalComponent implements OnInit, AfterContentInit, OnDestroy {
// onOverlayClick and onModalClick add the following functionality:
// clicking outside the modal closes the modal unless specified
// otherwise using closeOnOverlayClick.
// We specifically listen to the `mousedown` event because with
// We specifically listen to the "mousedown" event because with
// the `click` event a user could click inside the modal and
// drag the mouse on the overlay causing the modal to close.
@HostListener('mousedown') onOverlayClick(): void {
Expand Down

0 comments on commit fc94c40

Please sign in to comment.