Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui5-wizard): observe content height changes #2801

Merged
merged 4 commits into from
Feb 9, 2021
Merged

fix(ui5-wizard): observe content height changes #2801

merged 4 commits into from
Feb 9, 2021

Conversation

ilhan007
Copy link
Member

@ilhan007 ilhan007 commented Feb 9, 2021

Issue: When the step content size is changed runtime, step selection might go wrong as the steps' scroll positions are out of sync - the wizard works with the old ones.
Solution: Observe steps and update state to store steps' scroll positions.

FIXES: #2784

I recreated the setup - prior to the change after increasing the height of the current step at runtime and the user start to scroll, the selection moves to the previous step for a second (as shown in the referenced issue). Now, it is working fine:

Screen.Recording.2021-02-09.at.1.21.29.PM.mov

@ilhan007 ilhan007 requested review from MapTo0 and niyap February 9, 2021 11:55
@ilhan007 ilhan007 merged commit b4cbc43 into master Feb 9, 2021
@ilhan007 ilhan007 deleted the fix-wiz branch February 9, 2021 15:23
ilhan007 added a commit that referenced this pull request Feb 9, 2021
Issue: When the step content size is changed runtime, step selection might go wrong as the steps' scroll positions are out of sync - the wizard works with the old ones.
Solution: Observe steps and update state to store steps' scroll positions.

FIXES: #2784
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG][ui5-wizard]Incorrect calculation of current step position
2 participants