dioxus icon indicating copy to clipboard operation
dioxus copied to clipboard

chore: TypeError: Cannot set properties of null (setting 'className')

Open dxps opened this issue 1 month ago • 2 comments

Problem

Steps To Reproduce

Steps to reproduce the behavior:

  • Type r to 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!

dxps avatar Jan 03 '26 11:01 dxps

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

ealmloff avatar Jan 07 '26 14:01 ealmloff