Skip to content

Commit b089a7b

Browse files
committed
fix(overlay): set listenerHost correctly in trigger directive
1 parent ba3cae7 commit b089a7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

1st-gen/packages/overlay/src/overlay-trigger-directive.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ export class OverlayTriggerDirective extends SlottableRequestDirective {
9090
this.target = part.element as HTMLElement;
9191
newTarget = true;
9292
}
93+
this.listenerHost = this.target;
9394
if (newTarget || newStrategy) {
9495
this.strategy?.abort();
9596
this.strategy = new strategies[

0 commit comments

Comments
 (0)