File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class ModalOverlay extends HTMLElement {
20
20
// inside of a Modal, we'd want the AnchoredOverlay to be dismissed, not
21
21
// the modal (unless no AnchoredOverlay is open)
22
22
this . onKeydown = ( ev ) => {
23
- // If the element isn't visible, there's no point in triggering the escape event.
23
+ // If the element isn't visible, there's no point in triggering the keyboard event.
24
24
const style = window . getComputedStyle ( this ) ;
25
25
if ( style . display === "none" || this . offsetParent === null ) {
26
26
return ;
@@ -33,7 +33,7 @@ class ModalOverlay extends HTMLElement {
33
33
this . dispatchEvent ( new CustomEvent ( "escape" ) ) ;
34
34
}
35
35
36
- console . log ( this ) ;
36
+ debugger ;
37
37
console . log ( '---' ) ;
38
38
console . log ( this . events ) ;
39
39
You can’t perform that action at this time.
0 commit comments