dialog first autocomplete opening fix

This commit is contained in:
durgesh birmiwal 2024-03-06 18:17:17 +05:30
parent babcb8c9cf
commit f177202aa7
2 changed files with 6 additions and 1 deletions

View File

@ -2,6 +2,7 @@
<!-- eslint-disable @angular-eslint/template/label-has-associated-control --> <!-- eslint-disable @angular-eslint/template/label-has-associated-control -->
<sm-dialog-template header="PARAMETERS"> <sm-dialog-template header="PARAMETERS">
<div class="dialog-content"> <div class="dialog-content">
<input class="dummy" type="text">
<ng-container *ngFor="let section of parameters; let index = index" class="w-100 d-flex"> <ng-container *ngFor="let section of parameters; let index = index" class="w-100 d-flex">
<div class="param"> <div class="param">
<div class="key" [smTooltip]="section.name" smShowTooltipIfEllipsis> <div class="key" [smTooltip]="section.name" smShowTooltipIfEllipsis>

View File

@ -1,4 +1,9 @@
@import "variables"; @import "variables";
.dummy {
opacity: 0;
position: absolute;
left: -9999px;
}
.dialog-content { .dialog-content {
max-height: 400px; max-height: 400px;
overflow-y: auto; overflow-y: auto;
@ -17,7 +22,6 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
margin-right: 10px; margin-right: 10px;
} }
.value { .value {