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

217
Visualizações
keyboard events not working with MAC touch bar in React Js after first submit (on textarea form)

I have a weird issue where MAC touch bar (key input) events (word suggestions) are not working when after I submit the textarea input....The textarea inputs are unable to trigger any keyevents in React (not sure about other frameworks)

Scenario:

Step 1 : Type something in textarea and press Enter.

Step 2 : Try now to enter something via Mac touch bar (there are word suggestions on touch bar that appear) try touching them... no keyboard event is triggering...

Now if we try to type something from the physical keyboard and then use the Touch bar suggestions and we can see that it starts working again....

This issue happens only after clearing or resetting the textarea element...

I need this to work with Mac touch bar just like regular input event....

Created an example in stackblitz:

https://stackblitz.com/edit/react-er5v6c?file=src%2FApp.js

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