dioxus
dioxus copied to clipboard
chore: TypeError: Cannot set properties of null (setting 'className')
Problem
Steps To Reproduce
Steps to reproduce the behavior:
- Type
rto rebuild the project. - The rebuild notice modal opens in the browser.
- At the end of the build, the window is refreshed and that error is thrown in the console
Expected behavior
No such "artificial" (harmless) error should exist. Seeing such error in the console while developing is just noise.
Screenshots
https://github.com/user-attachments/assets/5b2d6129-bb26-44ce-a0fe-87eabaf8073e
Environment:
- Dioxus version: v0.7.2
- Rust version: 1.92.0
- OS info: macOS 26.2
- App platform: web
Questionnaire
I could look into that JS code related to this and come up with a PR. Would you be interested in this?
Thanks!
I could look into that JS code related to this and come up with a PR. Would you be interested in this?
That would be great! If this is coming from the modal, it should be relatively self contained here and in the desktop index