Skip to content

Commit

Permalink
Fixed #6289
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici authored and Çağatay Çivici committed Aug 10, 2018
1 parent 26a8fb6 commit dd2db5c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/components/overlaypanel/overlaypanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ export class OverlayPanel implements OnDestroy {

show(event, target?) {
this.target = target||event.currentTarget||event.target;
if (this.visible && this.container) {
this.domHandler.absolutePosition(this.container, this.target);
}

this.visible = true;

if (event.type === 'click') {
Expand Down

0 comments on commit dd2db5c

Please sign in to comment.