Skip to content

Commit

Permalink
Merge pull request #2257 from exadel-inc/bugfix/toggleable-outside-ac…
Browse files Browse the repository at this point in the history
…tion

fix(esl-toggleable): outside action should be handled from entire page
  • Loading branch information
ala-n authored Mar 1, 2024
2 parents 4a27643 + aa6f5a5 commit 717794c
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 717794c

Please sign in to comment.