File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
app/packages/looker/src/elements/common Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,7 @@ export class LookerElement<State extends BaseState> extends BaseElement<
3838 if ( enabled ) {
3939 matchedControl . action ( update , dispatchEvent , e . key , e . shiftKey ) ;
4040
41- // The below change does prevent closing the modal *also* clearing the selected samples
42- // But... hitting escape when the modal is *not* open no longer always clears selection
43- // If this is a Modal, we don't want this event to bubble up to the Grid
41+ // If this is a Modal, we don't want Escape to bubble up to the Grid
4442 // Hack: `lookerOptions` only sets showControl=true when a Modal
4543 const isModal = state . options . showControls === true ;
4644 if ( e . key === "Escape" && isModal ) {
You can’t perform that action at this time.
0 commit comments