Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

231
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!