Console keyboard INPUT on chrome is invisible until 5th character is typed

Bug description:
running a c++ or python repl that collects user input no longer echos user input visibly when typing the first 4 or 5 input characters. The cursor moves in the console to the right, but user input is hidden until the 5th or 6th character is entered and then all characters typed magically show up at once. Thereafter, you can see each character as it is typed. This does not occur on Firefox for example. All chrome extensions are turned off as well as any extra chrome features like hardware acceleration.

Expected vs Current Behavior:
Previously (for years) each character was visible as soon as it was typed, when collecting input in the console area. This problem started occurring in early/mid 2023 (summer). It occurs with both Python and C++ ( and I suspect other languages as well)

Steps to reproduce:
run the repl
enter 12345
notice hidden characters until around the 5th character

Bug appears at this link:
https://replit.com/@cstutormarin/repl-bug-chrome-input-hidden-cpp
https://replit.com/@cstutormarin/repl-bug-chrome-input-hidden-py

Screenshot(s)/Screen Recording:

Browser/OS/Device: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

Replit Profile: https://replit.com/@cstutormarin

1 Like

Getting the same issue on the Brave Browser on Linux, console errors on the page are shown:

  1. webgl: GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
  2. MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 16 CHANGE listeners added. Use emitter.setMaxListeners() to increase limit

It appears as if the keyed input isn’t being refreshed till the 6th character is keyed in, the pattern and issue is completely reproducible.

This is happening on the New Replit Desktop installed on Linux as well

1 Like