opened
ilhan007
username_0
**Background**
There are complains that if the user is at the very beginning of a step and scrolls a bit upwards, the selection switches to the previous step, although most of the viewport is taken by the first one.
Quote
"5. scroll up a little bit of the cascading goal dialog, and you can see the fact that although the most of dialog is step two, but the wizard will highlight the step one button. this is an issue, because the current step is still step two"

**Solution**
Add private/protected API, called step-switch-threshold
to give more control of the point the switch happens.
It support float values between 0.5 and 1, where 0.5 means the step will be switched after the user scrolls half of the current step, and 1 - when the current step is entirely scrolled out. The default value is 0.7, which is very close to the behaviour of the sap.m.Wizard.

**Usage**
```html
<ui5-wizard step-switch-threshold="0.5">
<ui5-wizard step-switch-threshold="0.6">
<ui5-wizard step-switch-threshold="0.1">
```

related to: https://github.com/SAP/ui5-webcomponents/issues/2883
refactor(ui5-wizard): configure step change position
issue
created
ilhan007
username_0
FYI @sfsf-xweb-sh
comment