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

569
Vistas
Is there any way to make position:sticky work inside iframe based on the parent document scroll?

I am having a usecase where the <footer> inside the <iframe> should be sticky at bottom (<iframe> doesn't have a scrollbar) based on the parent document scroll.

Note: position: sticky works as expected inside <iframe> only when it has a scroll.

Please share your thoughts.

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

0

Their is not a way to do this with css of standard browser APIs. You might however find it useful to look at a library called iframe-resizer which provides an API to tell the iframe the scroll position of the parent page.

You would then need to write a little bit of JS to take this stream of position data and use it to position your 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