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

197
Visualizações
Transparent iFrame blocks mouse event when using react-scripts start

Has anyone ever come across this issue?

When using react-scripts start, everything seems ok on first load. As soon as a change is made to a file, all the mouse event seem to stop working (can't click on buttons, inputs, no tooltips etc.), even though the browser appears to update.

If I refresh the page the events work again, until a file is changed.

This isn't a problem in production as the watcher isn't involved there.

Any ideas?

EDIT:
I've found the problem but I'm not sure what the solution is. It appears that a iFrame is added to the DOM when the watcher reloads. It looks like it has something to do with licenses. The body within the iFrame is empty but there is some minified JS with a comment on the top line:

/*! For license information please see iframe-bundle.js.LICENSE.txt */

Does anyone know how to prevent this iFrame appearing.

over 4 years ago · Santiago Trujillo
5 Respostas
Responde à pergunta

0

This is what fixed it for me:

npm upgrade react-scripts
over 4 years ago · Santiago Trujillo Relatório

0

You need to upgrade React-Scripts to latest version

npm install react-scripts@latest
over 4 years ago · Santiago Trujillo Relatório

0

My solution npm install --save --save-exact react-scripts@5.0.0 then rm -rf node_module && rm -rf package-lock.json y then npm install and npm start =)

over 4 years ago · Santiago Trujillo Relatório

0

This works for me:

"react-error-overlay": "6.0.9",

and add the fixed dependency version to the resolutions section of your package.json:

"resolutions": {
  "//": "See https://github.com/facebook/create-react-app/issues/11773",
  "react-error-overlay": "6.0.9"
},
over 4 years ago · Santiago Trujillo Relatório

0

Upgrading to react-scripts v5 that way made it work for me :

npm i react-scripts@5.0.0
over 4 years ago · Santiago Trujillo Relatório
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