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

362
Visualizações
prime ng p-calendar getting closed inside p-dialogue when scrolled

I am working on angular and Prime ng library. I have one modal which have calendar inside it. The calendar height is not fitting the modal. So when I scroll the dialogue calendar gets closed automatically. But I want user to scroll and select the month and date. But when I use the same calendar outside the modal it works and don't get close even when I scroll.

Below is stack blitz demo https://stackblitz.com/edit/primeng-calendar-demo-swqhuj?file=src%2Fapp%2Fapp.component.html

Below is my code.

<p-dialog header="Header" [(visible)]="displayBasic" [style]="{width: '100vw'}" [baseZIndex]="10000">

<div class="p-fluid p-grid p-formgrid">
    <div class="p-field p-col-12 p-md-4">
        <label for="basic">Basic</label>
        <p-calendar inputId="basic" [(ngModel)]="date1"></p-calendar>
    </div>
</div>
</p-dialog>

Is there a way to avoid this. Any help will be appreciated.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

<p-dialog [contentStyle]="{'overflow': 'visible'}">

about 4 years ago · Juan Pablo Isaza 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