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>
|
(keyup.control.enter)="onValidKey()" (keyup.meta.enter)="onValidKey()" #textarea>
|
||||||
|
|
||||||
</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">
|
<ng-template ptTemplate="customHtml">
|
||||||
<span i18n>Markdown compatible that supports:</span>
|
<span i18n>Markdown compatible that supports:</span>
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
[attr.aria-pressed]="isPopoverOpened"
|
[attr.aria-pressed]="isPopoverOpened"
|
||||||
[ngbPopover]="tooltipTemplate"
|
[ngbPopover]="tooltipTemplate"
|
||||||
[placement]="tooltipPlacement"
|
[placement]="tooltipPlacement"
|
||||||
autoClose="outside"
|
[autoClose]="autoClose"
|
||||||
(onHidden)="onPopoverHidden()"
|
(onHidden)="onPopoverHidden()"
|
||||||
(onShown)="onPopoverShown()"
|
(onShown)="onPopoverShown()"
|
||||||
>
|
>
|
||||||
|
|
|
@ -14,6 +14,7 @@ export class HelpComponent implements OnInit, OnChanges, AfterContentInit {
|
||||||
@Input() tooltipPlacement = 'right auto'
|
@Input() tooltipPlacement = 'right auto'
|
||||||
@Input() iconName: GlobalIconName = 'help'
|
@Input() iconName: GlobalIconName = 'help'
|
||||||
@Input() title = $localize`Get help`
|
@Input() title = $localize`Get help`
|
||||||
|
@Input() autoClose = 'outside'
|
||||||
|
|
||||||
@ContentChildren(PeerTubeTemplateDirective) templates: QueryList<PeerTubeTemplateDirective<'preHtml' | 'customHtml' | 'postHtml'>>
|
@ContentChildren(PeerTubeTemplateDirective) templates: QueryList<PeerTubeTemplateDirective<'preHtml' | 'customHtml' | 'postHtml'>>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue