Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

173
Vistas
Is this possible to make the child dom element to have visible overflow when parent container element has overflow scroll?

I have a modal component which should have scrollable content.

On that modal component I have a datepicker input, which should popup a datepicker and this popup should be visible even when it is outside of the container component block.

Is this possible to make datepicker component to have visible overflow when the parent has overflow: scroll?

I have tried to use position: absolute but this doesn't help for my case

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You can use position absolute

But you have to remain careful while positioning because position: absolute is not positioned w.r.t to parent element in this scenario. You can use another container for box1 and position it relative

.box1 {
  width: 180px;
  height: 200px;
  border: 1px solid black;
  background-color: red;
  overflow: scroll;
}

.box2 {
  width: 200px;
  height: 100px;
  border: 1px solid black;
  background-color: blue;
  position: absolute;
}
<div class="box1">qwertyuiopasdfghjklzxcvbnm
  <div class="box2"></div>
</div>

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda