Skip to content

Commit

Permalink
Fix for close anchor bug with bars and flyouts.
Browse files Browse the repository at this point in the history
  • Loading branch information
steveush committed Jan 5, 2025
1 parent 670ca2d commit 804876e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/widgets/bar/frontend/element/Element.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class BarElement extends TriggeredElement {
this.#contentElement = this.shadowRoot.querySelector( "[part~=content]" );
this.onOpenButtonClicked = this.onOpenButtonClicked.bind( this );
this.onCloseButtonClicked = this.onCloseButtonClicked.bind( this );
this.onCloseAnchorTrigger = this.onCloseAnchorTrigger.bind( this );
}

/**
Expand Down
1 change: 1 addition & 0 deletions src/widgets/flyout/frontend/flyout/Element.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class FlyoutElement extends TriggeredElement {
this.#contentElement = this.shadowRoot.querySelector( "[part~=content]" );
this.onOpenButtonClicked = this.onOpenButtonClicked.bind( this );
this.onCloseButtonClicked = this.onCloseButtonClicked.bind( this );
this.onCloseAnchorTrigger = this.onCloseAnchorTrigger.bind( this );
}

/**
Expand Down

0 comments on commit 804876e

Please sign in to comment.