Skip to content

Commit

Permalink
fix(esl-toggleable): outside action should be handled from entire page
Browse files Browse the repository at this point in the history
  • Loading branch information
yadamskaya committed Feb 29, 2024
1 parent 4a27643 commit aa6f5a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/esl-toggleable/core/esl-toggleable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ export class ESLToggleable extends ESLBaseElement {
@listen({
auto: false,
event: 'keydown mouseup touchend',
target: document.body,
target: document,
capture: true
})
protected _onOutsideAction(e: Event): void {
Expand Down

0 comments on commit aa6f5a5

Please sign in to comment.