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: Stop welcome screen overflowing #2595

Merged
merged 1 commit into from
Jun 5, 2024
Merged

Conversation

Restioson
Copy link
Contributor

Fixes #2405

@Restioson Restioson requested a review from holzeis June 3, 2024 12:30
@Restioson Restioson self-assigned this Jun 3, 2024
final Widget child;

@override
Widget build(BuildContext context) {
return SafeArea(
bottom: bottom,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓ what is this doing?

Copy link
Contributor Author

@Restioson Restioson Jun 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to pass it through from this.bottom. The reason I did bottom: bottom instead of bottom: this.bottom is because the IDE recommended that it was less redundant/better style. It's set in the welcome screen. If it's not needed there though it could be removed

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to know what the bottom flag is telling the SafeArea widget, but I've looked it up now.

Whether to avoid system intrusions on the bottom side of the screen.

Do we need this if the area is anyways scrollable?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this if the area is anyways scrollable?

I simply kept it as it was in the original and I was not sure what behaviour or display may change with removing it. I'm happy to remove it if you'd like.

FWIW the page did not fit on my phone as-is so it's probably good that it's scrollable now 😅

@holzeis holzeis changed the title fix: stop welcome screen overflowing fix: Stop welcome screen overflowing Jun 3, 2024
@Restioson Restioson added this pull request to the merge queue Jun 5, 2024
Merged via the queue into main with commit 3e685fb Jun 5, 2024
24 checks passed
@Restioson Restioson deleted the fix-welcome-screen-kbd branch June 5, 2024 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rendering overflow on welcome screen
2 participants