Add popover autoclose

pull/974/head
Chocobozzz 2018-08-27 11:52:14 +02:00
parent 52831c6fef
commit 0bd84f8bde
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 7 additions and 2 deletions

View File

@ -3,7 +3,6 @@
.form-group {
display: flex;
align-items: center;
.form-group-checkbox {
display: flex;
@ -20,4 +19,9 @@
margin-right: 10px;
}
}
my-help {
position: relative;
top: -2px;
}
}

View File

@ -20,6 +20,7 @@
[attr.aria-pressed]="isPopoverOpened"
[ngbPopover]="tooltipTemplate"
[placement]="tooltipPlacement"
[autoClose]="true"
(onHidden)="onPopoverHidden()"
(onShown)="onPopoverShown()"
></span>

View File

@ -1,6 +1,6 @@
<div class="video-feed">
<span
*ngIf="syndicationItems.length !== 0" [ngbPopover]="feedsList" placement="bottom"
*ngIf="syndicationItems.length !== 0" [ngbPopover]="feedsList" [autoClose]="true" placement="bottom"
class="icon icon-syndication" role="button"
></span>