denoland / fresh

The next-gen web framework.
https://fresh.deno.dev
MIT License
12.17k stars 623 forks source link

Code is displayed incorrectly on fresh docs on Windows Edge browser (on recent install) #2322

Closed epangelias closed 7 months ago

epangelias commented 7 months ago

image image image

marvinhagemeister commented 7 months ago

I can reproduce that. This is super odd

epangelias commented 7 months ago

Believe it is being caused by partials, it goes away when reloading the page

foxscotch commented 7 months ago

I'm seeing the same thing on both Chrome 121.0.6167.185 (64-bit) and Firefox 120.0.1 (64-bit). I can't imagine OS is related but just for the sake of completeness I'm on Windows 11 22H2 Build 22621.3007.

If someone else doesn't figure it out before the weekend, I'd be happy to look into it myself.

marvinhagemeister commented 7 months ago

Yeah it's not OS related and is reproduceable in every browser. It's likely that it's triggering something weird in Preact's child reconciliation algorithm

marvinhagemeister commented 7 months ago

Likely related: https://github.com/preactjs/preact/pull/4287