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

244
Views
How to place div from table column A on top of rest of columns while using position: sticky in React app

I'm building a React app and have a table where 3 columns are fake dropdowns. I want that, whenever a user clicks on the dropdown in one column, say Country, the dropdown menu comes in AND gets placed on top of the buttons in the adjacent columns Region and Province.

Please, note that I cannot work with element DropDown. Instead I've got an element Button and an element <div> showing up conditionally. What I need is to use something like z-index to place this div on top of the rest of the table.

The cell has the attribute position: sticky;, that's why (I have the impression) the z-index cannot be used...

Any suggestions? Much appreciated!

enter image description here

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!