PolyMeilex / rfd

Rusty File Dialog
MIT License
524 stars 60 forks source link

Wasm inline style clashes with CSP headers #186

Open timvw01 opened 3 months ago

timvw01 commented 3 months ago

When compiling to WASM and having CSP headers the file dialog doesn't work because it has inline CSS. A nice feature would be to opt out of the style. In that case users can just copy paste the CSS to their own file and avoid CSP errors. If agreed, i can make a PR.

PolyMeilex commented 3 months ago

Sure, but let's make it a runtime feature, the amount of compile time flags is getting annoying 😅