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

159
Views
How to hard set position of div tags in ReactJS?

I have implemented the custom control code for the above map using ReactJS.

In the topright position I have a custom control for drawing and choosing colors. Between these two controls, they all use the same props from a parent component.

However, every time I click to select a color, the app re-renders and the positions of the controls are changed.

So is there a way I can prevent the position from changing every time I select the color and change the props of those two controls?

Link demo this bug: https://youtu.be/29mcGWykyoY

Link about stream component JSX: https://youtu.be/YD6l2YyxMZs

Link about my component: Image

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!