Bug: Console Logs Disappear in Chromium-Based Browsers When Rendering Incorrectly Encoded Image URLs in a React Application #32380
Labels
Status: Unconfirmed
A potential issue that we haven't yet confirmed as a bug
React version: 16.14.0, 19.0.0
Steps To Reproduce
Render this component within a React application.
Open the Developer Tools in a Chromium-based browser (e.g., Chrome) and observe that the console displays 1.
Close and reopen the Developer Tools.
Notice that the console log output (1) is no longer present.
Link to code example: https://codesandbox.io/p/sandbox/react-dev-forked-gtkl7p
The current behavior
After reopening the Developer Tools, the previously logged output is missing. This issue occurs specifically within the React rendering environment and only in Chromium-based browsers; it does not occur in Safari, Firefox, or when using a plain HTML
tag.
The expected behavior
The console output from console.log(1) should persist regardless of whether the Developer Tools are closed and reopened, even if the image fails to load due to encoding issues.
Additional Context:
The text was updated successfully, but these errors were encountered: