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

206
Visualizações
React mouse events triggered on mobile

On mobile, the parent element onMouseEnter listener is triggered by clicking a child button element.

  1. I do not understand why the mouse event is triggered in a mouseless environment
  2. I don't understand why the house events are triggered before the button click event

Here is a simplified version of my code: https://codepen.io/JDFutu/full/YzaVgvB

To reproduce

  1. click the one button and see the menu open
  2. click the other button and see it does not open
  3. check the console to see the other of the events fired

This menu is a react implementation of https://yale-a11y.gitlab.io/ui-component-library/accessible-flyout-menu

about 4 years ago · Santiago Gelvez
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