Skip to content

Scaffold Drawer pull out area fix for notched devices#24367

Merged
jslavitz merged 4 commits into
flutter:masterfrom
jslavitz:drawer-fix
Nov 16, 2018
Merged

Scaffold Drawer pull out area fix for notched devices#24367
jslavitz merged 4 commits into
flutter:masterfrom
jslavitz:drawer-fix

Conversation

@jslavitz

Copy link
Copy Markdown
Contributor

Fixes #14649.

}

Widget _buildDrawer(BuildContext context) {
double dragAreaWidth = widget.alignment == DrawerAlignment.start ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You need to run this through text directionality to get left or right no?

@xster

xster commented Nov 15, 2018

Copy link
Copy Markdown
Member

LGTM. Make sure to deal with RTL and add a test for it.

@xster

xster commented Nov 15, 2018

Copy link
Copy Markdown
Member

LGTM

@jslavitz jslavitz merged commit b3d9fb4 into flutter:master Nov 16, 2018
@jslavitz jslavitz deleted the drawer-fix branch December 3, 2018 22:25
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

endDrawer is difficult to trigger when iPhone X notch is present (landscape mode)

3 participants