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

115
Visualizações
I have a event handler and in React is not working, but in UI5 works perfect

I have an interesting problem.

So, I have an EyeTracker sensor, this EyeTracker has a browser extension that create some event listener: userpresent and gazeenter UserPresent when the user is in front of EyeTracker and gazeenter when the user have the gaze on specific item ( a button for example )

I need to add some eventlisteners so I inject the next code in useEffect, I tried also in index.html in area document.addEventListener("userpresent",()=>console.log("userpresent")); document.addEventListener("gazeenter",(e)=>console.log("event", e));

in SAPUi5 framework this work perfectly, but in React my gazeenter event is not triggered, some ideas? Thank you.

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