Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

249
Visualizações
mat-select was not working fine in Angular

enter image description here

enter image description here

app.component.html:

<div class="col-12 p-0">
            <mat-paginator class="paginator col-12" (page)="pageEvent = 
                   getServerData($event)"
                           [length]="totalRecords"
                           [pageSize]="search.size"
                           [pageSizeOptions]="[10, 20, 50, 100]" showFirstLastButtons> 
             </mat-paginator>

</div>

app.component.ts:

 ::ng-deep .mat-select-panel-wrap {
 flex-basis: 100%;
 padding-bottom: 40px !important;
 padding-left: 12px !important;
 }

when i am selecting 10,20,50 the mat-select was working fine and even after selecting 100 its displays 100 rows.But when the select value was on 100 and i try to select the mat-select was going above as shown in the image.

https://stackblitz.com/edit/angular-mat-paginator-jhx2jf?file=app/table-pagination-example.ts

Thanks.

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

I found your issue. The problem is cdk-overlay-pane is applying their own CSS, so you need to add CSS for that.

Add styling code in Style.css:

.cdk-overlay-pane{
  min-width: 56px;
  pointer-events: auto;
  font-size: 12px;
  bottom: 20.6875px;
  left: 133.391px;
  transform: translateX(0px) translateY(0px) !important;  // set 0px for X and Y
}
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda