Closed kjk closed 3 months ago
Can confirm, i was really confused when the Page just gut larger and larger when navigating.
more minimal repo
https://www.sveltelab.dev/74y2hww9xufkrgl
seems to happen when you use a component in any route
For everyone experiencing this: you can disable hot module reloading through the compilerOptions.hmr
setting until this is fixed.
Closing as duplicate of #12243
@dummdidumm @Rich-Harris
still happens for me, when a route has +layout.server.ts
https://www.sveltelab.dev/vnsnqujbs0xif3c
check subfolder sysadmin/test
remove the file and it works
Describe the bug
things work with 167, after upgrading to 168 the following:
stops working i.e. when
showingNoteSelector
goes fromfalse
totrue
, it does render the content as expected.Going from
true
tofalse
doesn't unmount the Overlay.I have:
so I can tell that
showingNoteSelector
gets set tofalse
but the Overlay remains on screen i.e. is not unmounted.Reproduction
git checkout https://github.com/kjk/edna
cd edna
package.json
hassvelte
at5.0.0-next.167
.bun install
bun run dev
Verify that 167 works:
Open note
menu itemVerify that 168 breaks:
package.json
and setsvelte
to5.0.0-next.168
bun install --verbose
(--verbose
to ensure that168
is installed)bun run dev
Open note
menu itemDialog should get dismissed but isn't.
In console logs you should see a log that says
showingNoteSelector changed to: false
The code in this particular scenario is
closeNoteSelector()
inApp.svelte
that simply doesshowingNoteSelector = false;
You can replace
bun
with equivalentnpm
oryarn
commands.Logs
No response
System Info
Severity
blocking all usage of svelte