Replies: 1 comment
-
|
We have a proposed rewrite to adjust a lot of the UI/UX of this component in the near future: This would be useful to know during that process, so I'll link to this issue as reference. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I noticed that the Stepper component doesn't respond to a change in the length prop.
I have a complex form where some steps are visible based on what you select in previous steps, and the Stepper just breaks when some steps are added.
I am currently able to work around this by wrapping the whole stepper inside a
{#key}block:where steps is an array of strings with the name of the steps to show.
I glimpsed at the source code and it's probably enough to turn the
lengthcontext prop into a writable, which the stepper can update when its input prop changes.Beta Was this translation helpful? Give feedback.
All reactions