Fix android bug where dynamic content In StepFlowItem gets cut - #914
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR addresses an Android-specific layout/animation issue in StepFlowItem where dynamically added body content could be clipped during the activation/expand animation. It does so by making the expand animation adapt its target height while the body is expanding, and updates the StepFlow sample to reproduce the scenario with dynamically populated content.
Changes:
- Updated
StepFlowItemexpand animation to animate normalized progress (0→1) and adjust the target height during expansion when content grows. - Updated StepFlow sample to dynamically populate the final step’s content on
StepActivatedto reproduce the clipping scenario. - Added a patch changelog entry for the Android StepFlow fix.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
📁 File summary (4 files changed)
| File | Description |
|---|---|
src/library/DIPS.Mobile.UI/Components/StepFlow/StepFlowItem.cs |
Adjusts expand animation to re-measure/re-target height during expansion so dynamic content isn’t clipped. |
src/app/Components/ComponentsSamples/StepFlow/StepFlowSamplesViewModel.cs |
Adds dynamic population of step 4 content on activation to reproduce the issue in samples. |
src/app/Components/ComponentsSamples/StepFlow/StepFlowSamples.xaml |
Updates the sample UI to include an intermediate step and a dynamically populated final step. |
CHANGELOG.md |
Adds a [62.0.2] patch entry documenting the Android StepFlow fix. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
GovermanGambo
approved these changes
Jul 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Change
Fixes https://dips.ghe.com/dips/Arena.Mobile/issues/1931
Todos
Buggen er bare klart reprodusert på Samsung SM (kan testes på componentSamples)