Fix autoclose md popover when click on emoji list link inside
This commit is contained in:
parent
fdd1296521
commit
c537763a23
|
@ -10,7 +10,7 @@
|
|||
(keyup.control.enter)="onValidKey()" (keyup.meta.enter)="onValidKey()" #textarea>
|
||||
|
||||
</textarea>
|
||||
<my-help class="markdown-guide" helpType="custom" iconName="markdown" tooltipPlacement="left auto" i18n-title title="Markdown compatible">
|
||||
<my-help class="markdown-guide" helpType="custom" iconName="markdown" tooltipPlacement="left auto" autoClose="true" i18n-title title="Markdown compatible">
|
||||
<ng-template ptTemplate="customHtml">
|
||||
<span i18n>Markdown compatible that supports:</span>
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
[attr.aria-pressed]="isPopoverOpened"
|
||||
[ngbPopover]="tooltipTemplate"
|
||||
[placement]="tooltipPlacement"
|
||||
autoClose="outside"
|
||||
[autoClose]="autoClose"
|
||||
(onHidden)="onPopoverHidden()"
|
||||
(onShown)="onPopoverShown()"
|
||||
>
|
||||
|
|
|
@ -14,6 +14,7 @@ export class HelpComponent implements OnInit, OnChanges, AfterContentInit {
|
|||
@Input() tooltipPlacement = 'right auto'
|
||||
@Input() iconName: GlobalIconName = 'help'
|
||||
@Input() title = $localize`Get help`
|
||||
@Input() autoClose = 'outside'
|
||||
|
||||
@ContentChildren(PeerTubeTemplateDirective) templates: QueryList<PeerTubeTemplateDirective<'preHtml' | 'customHtml' | 'postHtml'>>
|
||||
|
||||
|
|
Loading…
Reference in New Issue