Monorepo icon indicating copy to clipboard operation
Monorepo copied to clipboard

Firefox unresponsive after editing a text field

Open openmindculture opened this issue 2 years ago • 1 comments

The following issue happened once, about halfway in the middle of the State of JavaScript survey when I clicked and focused a text field that I had filled before and pressed the backspace key several times to edit a typo.

I could not reproduce the issue later when I started in another survey session in Firefox and another one in Vivaldi.

Browser error message: Screenshot Screenshot: “State of JavaScript 2023: Build Tools — Mozilla Firefox” is not responding. You may choose to wait a short while for it to continue or force the application to quit entirely. Wait / Force Quit

Full page screenshot: built tools page screenshot with error message

The error occurred on the "Build Tools" page when trying to edit the first issues text field. https://survey.devographics.com/en-US/survey/state-of-js/2023/{SESSION_ID}/6

After I forced quit and restarted Firefox, I could resume the survey. No more problems. I have no more details as I did not have developer tools open, and there was no core dump log as I chose to quit the browser "deliberately", but here are my browser and OS version:

Firefox Browser 120.0 (64-bit) Mozilla Firefox Snap for Ubuntu canonical-002 - 1.0 Ubuntu 22.04.3 LTS Linux 6.5.0-10008-tuxedo # 8 x86_64 GNU/Linux

openmindculture avatar Nov 24 '23 08:11 openmindculture

Thanks, this component is new and gave me a hard time (forms are terrible in React...), there might be an edge case where an infinite loop could happen. I'll try to repro. Edit: tried a repro but couldn't get it, might a rare edge case. It would maybe need to dig the code directly to spot an incorrect effect or event.

eric-burel avatar Nov 24 '23 08:11 eric-burel

Closing for now, this component was buggy back then

eric-burel avatar Sep 09 '24 15:09 eric-burel