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

101
Visualizações
Header flickers in and out of existence

In Firefox, if you place your mouse cursor over the Hover cursor over me text in the table area and use your mousewheel to scroll, the sticky Column Header will flicker and sometimes not render.

Giving the header a min-height: 0 or webkit-transform: translateZ(0) doesnt help much.

const dr = document.querySelector(".duplicate-row");

for (let i = 0; i < 200; i++) {
  dr.after(dr.cloneNode(true));
}
.table-header {
  position: sticky;
  top: 0;
  background: #ddd;
}
td {
  padding: 16px;
}
table {
  border: 1px solid #ccc;
}
<p>In <strong>Firefox</strong>, if you place your mouse cursor over the <strong>Hover cursor over me</strong> text in the table area and use your mousewheel to scroll, the sticky <strong>Column Header</strong> will flicker and sometimes not render.</p>

<p>If you move your cursor out of the table, or hover it on the <strong>Column Header</strong> and then try to use the mouse wheel to scroll then the flickering appears to go away.</p>

<p>If you use the vertical scroll bar to scroll the issue is less apparent.</p>
<table>
  <tbody>
    <tr class="table-header">
      <td>
        <h1>COLUMN HEADER</h1>
      </td>
    </tr>
    <tr class="duplicate-row">
      <td>Hover cursor over me</td>
    </tr>
  </tbody>
</table>

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