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

250
Vistas
How to detect scroll down event in iframe document using React

What I have done so far

I am have displayed a website that is not of the same domain in the iframe through a modal popup. In the modal popup, there will be button at the footer in disable state initially. And, now I'm trying to detect scroll down event of the iframe document and when scroll down of the iframe document reaches the end, the button at the footer of the modal popup gets enabled.

But I couldn't detect the scroll inside the iframe document using onscroll method

const iframeDocument = document.getElementById("websiteIframe");
iframeDocument.onscroll = () => {
   return console.log("scrolling page")
}
about 4 years ago · Juan Pablo Isaza
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