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

resizeToAvoidBottomInset Cupertino without NavBar #37319

Merged

Conversation

justinmc
Copy link
Contributor

Description

CupertinoPageScaffold was ignoring resizeToAvoidBottomInset when there was no navigationBar. This PR makes it respect the parameter in either case.

The before and after with resizeToAvoidBottomInset: true looks like this:

Before After
flutter_02 flutter_01

Related Issues

Closes #34946

Tests

Added a test to verify that a CupertinoTextField moves up when resizeToAvoidBottomInset is true, even without a navbar.

@justinmc justinmc added framework flutter/packages/flutter repository. See also f: labels. f: cupertino flutter/packages/flutter/cupertino repository labels Jul 31, 2019
@justinmc justinmc requested a review from xster July 31, 2019 17:40
@justinmc justinmc self-assigned this Jul 31, 2019
@justinmc
Copy link
Contributor Author

@xster Just checking, but ignoring resizeToAvoidBottomInset when there was no nav bar wasn't done on purpose for some reason, was it?

@xster
Copy link
Member

xster commented Aug 12, 2019

That totally looks like a bug. Thanks for fixing!

@justinmc justinmc merged commit 19d113b into flutter:master Aug 12, 2019
@justinmc justinmc deleted the resize-to-avoid-bottom-inset-cupertino branch August 12, 2019 19:56
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
f: cupertino flutter/packages/flutter/cupertino repository framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

resizeToAvoidBottomInset doesn't work in Cupertino
3 participants