-
-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Labels
Description
Describe the bug
if (form?.badGuess) form.badGuess = false;is not correctly settingform.badGuessto false causing animation to not play after submitting again
repro:
- type non existing word with 5 letters
- submit, animation plays
- backspace
- type non existing word again
- submit, animation doesn't play
expected: animation plays
- animation does not replay when submitting a non existing word multiple times because of
bad-guessclass
repro:
- type non existing word with 5 letters
- submit, animation plays
- submit, animation doesn't play again
expected: animation plays again
Reproduction
npx sv create with Sverdle demo
(why not include Sverdle in https://node.new/sveltekit ?)
Logs
System Info
System:
OS: Windows 11 10.0.26100
CPU: (12) x64 AMD Ryzen 5 7600 6-Core Processor
Memory: 7.00 GB / 31.06 GB
Binaries:
Node: 25.5.0 - C:\nvm4w\nodejs\node.EXE
npm: 11.8.0 - C:\nvm4w\nodejs\npm.CMD
bun: 1.3.9 - C:\Users\henri\.bun\bin\bun.EXE
Browsers:
Chrome: 145.0.7632.76
Edge: Chromium (143.0.3650.66)
npmPackages:
@sveltejs/adapter-auto: ^7.0.0 => 7.0.1
@sveltejs/kit: ^2.50.2 => 2.52.2
@sveltejs/vite-plugin-svelte: ^6.2.4 => 6.2.4
svelte: ^5.51.0 => 5.53.0
vite: ^7.3.1 => 7.3.1Severity
annoyance
Additional Information
No response
Reactions are currently unavailable