Skip to content

Conversation

@abarth
Copy link
Contributor

@abarth abarth commented Jan 26, 2016

When introducing Focus widgets for the Drawer (and ModalRoutes), we weren't
actually giving them the focus. Now we move the focus scope when pushing modal
routes.

Fixes #184

@abarth
Copy link
Contributor Author

abarth commented Jan 26, 2016

@Hixie

Copy link
Contributor

Choose a reason for hiding this comment

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

this function is now unused as far as I can tell, and focusedScope should now be final.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed.

@Hixie
Copy link
Contributor

Hixie commented Jan 26, 2016

lgtm. we should add some more tests though.

@abarth
Copy link
Contributor Author

abarth commented Jan 27, 2016

we should add some more tests though.

Added test.

When introducing Focus widgets for the Drawer (and ModalRoutes), we weren't
actually giving them the focus. Now we move the focus scope when pushing modal
routes.

Fixes flutter#184
abarth added a commit that referenced this pull request Jan 27, 2016
Keyboard doesn't dismiss when the drawer comes up
@abarth abarth merged commit 5cfccb9 into flutter:master Jan 27, 2016
@abarth abarth deleted the route_focus branch January 27, 2016 04:08
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 16, 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.

Keyboard doesn't dismiss when the drawer comes up

2 participants