-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong address for empty string message #44911
Comments
@Nefcanto I think this issue is not related to Material UI, and the error is thrown by React: https://github.com/facebook/react/blob/main/packages/react-dom/src/__tests__/ReactDOMComponent-test.js#L590-L602
When you click your ToggleView in the recording, it seems that the error appears after the view changes so my guess would be one of the new images that were loaded/rendered as the view changes? |
@mj12albert I saw the link you sent. Yes, you're right. It belongs to the React. I will create an issue there.
Yeah of course. The name of the button is |
I am tentatively closing it as it doesn't seem like an error on the Material UI side. Feel free to reopen it if new evidence shows something is wrong in Material UI. |
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Note @Nefcanto How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey. |
Steps to reproduce
I don't know where the problem could be. Therefore I can't create an MRE.
This is a video I captured:
WrongEmptyStringAddress.mp4
The point is, the message complaints that:
When I open that message to see the stack, it guides me to a component of mine called
ToggleView
and the line specified contains this code:And the
ToggleView.jsx
does not containsrc
attribute at all in it. Of course, I havesrc
in many other places. But how can I know which one is causing the problem? The address is wrong.Current behavior
Material UI provides misleading addresses that do not help at all in finding the problem, and litters the console for long time until we find the problem accidentally or through heuristics (trial & error).
Expected behavior
Material UI should provide accurate addresses.
Context
No response
Your environment
npx @mui/envinfo
Search keywords: empty string
The text was updated successfully, but these errors were encountered: