domino-ui icon indicating copy to clipboard operation
domino-ui copied to clipboard

Make it possible to only show a number of steps in Stepper

Open FrankW76 opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. When you create a Stepper with for example 15 steps. The upper bar containing the steps will wrap all these steps over multiple lines.

Describe the solution you'd like It would be nice if you could say that only a number of steps should be visible. So for example you can say show only 5 steps. In this case when user is in step 7, the following steps would be shown 5,6,7,8,9

Describe alternatives you've considered Make the steps bar scrollable. In this case it should also auto scroll so the current step is visible when going to the next/previous step

Additional context Following is an example of the current issue. Imagine if you have 15 steps and its start wrapping on 3 rows.

image

FrankW76 avatar Mar 08 '21 11:03 FrankW76