You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the meantime I found a workaround with Svelte key blocks, which allow you to destroy and rebuild their contents when the value of an expression changes.
Describe the bug
The Slider component doesn't visually reflect updates to the
max
prop (the underlying range input does correctly get an updatedmax
attribute, though)To Reproduce
https://svelte.dev/repl/a67aeecf3b334778b3640f8aadb2d1e1?version=3.38.2
My guess is that there is some weird interaction with the bind on
value
, because it does update but is capped to 10, which is the pre-updatemax
.Expected behavior
It should visually reflect the update to
max
, like the standard range input does:https://svelte.dev/repl/7a55a3285482467e9d40c2d505460e8b?version=3.38.2
(Based on the example in this Svelte issue: sveltejs/svelte#3857)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: