Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

247
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda