fix: pin onboarding action buttons on small screens#7
Merged
Conversation
…crollable on small screens Agent-Logs-Url: https://github.com/ninocss/UntisPlus/sessions/19c7b24f-6a11-4d84-b889-6050ed14e937 Co-authored-by: ninocss <108231535+ninocss@users.noreply.github.com>
…olumn Agent-Logs-Url: https://github.com/ninocss/UntisPlus/sessions/19c7b24f-6a11-4d84-b889-6050ed14e937 Co-authored-by: ninocss <108231535+ninocss@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
ninocss
April 11, 2026 12:46
View session
There was a problem hiding this comment.
Pull request overview
This PR fixes onboarding flow action buttons being cut off on small screens by restructuring step layouts so the main content can scroll while primary actions remain pinned and always visible.
Changes:
- Added an optional
footerto_StepWrapperand rendered it below the scrollablecontent. - Updated onboarding steps (Language, Appearance, Login, Gemini, Tutorial/Finish) to move primary action buttons into the pinned footer area.
- Wrapped step content in
SingleChildScrollViewwhere appropriate to prevent overflow on short viewports.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
On small screens, primary action buttons (Next, Login, Skip, Finish) in the onboarding flow were cut off because they lived at the bottom of content columns that could overflow without scrolling.
Approach
Introduced an optional
footerparameter on_StepWrapperthat renders outside and below the scrollable content area, always visible regardless of screen height.Per-step changes
LayoutBuilder/ConstrainedBoxwrapper; settings list scrollable; Next button → footerExpanded; manual entry + demo mode buttons → footerSingleChildScrollView; login + demo mode buttons → footer