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

233
Vistas
React div ghosting when scrolled

The following code extract renders a modal window with an image and some text in it:

<Grid style={{ scrollBehavior: "smooth", overflowY: "auto", maxHeight: "35em" }}
container justify="center" alignItems="center">
    <Grid
    item
    xs={12}
    sm={12}
    md={4}
    lg={4}
    xl={4}
    style={{ textAlign: "center", padding: "20px 0px" }}
    >
    {this.getPopupImage(this.state.teamMemberInfo.name)}
    <h3>{this.state.teamMemberInfo.name}</h3>
    <label>{this.state.teamMemberInfo.position}</label>
    </Grid>

    <Grid
    item
    xs={12}
    sm={12}
    md={8}
    lg={8}
    xl={8}
    style={{ padding: "20px" }}
    >

    <p style={{}}
        className={classes.descControl}
        dangerouslySetInnerHTML={{
        __html: this.state.teamMemberInfo.description
        }}>
    </p>
    </Grid>
</Grid>

However, the contents leave a burned-in ghost image when it is scrolled:

enter image description here

What could be causing this strange behavior?

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