Skip to content

Invert children for real - #18489

Merged
jonahwilliams merged 2 commits into
flutter:masterfrom
jonahwilliams:snackbar_focus
Jun 15, 2018
Merged

jonahwilliams merged 2 commits into
flutter:masterfrom
jonahwilliams:snackbar_focus

Conversation

@jonahwilliams

Copy link
Copy Markdown
Contributor

for-loops, amirite?

Fixes #18421

@goderbauer

Copy link
Copy Markdown
Member

Can you add a test for this to ensure that they stay inverted? 😝

@jonahwilliams

Copy link
Copy Markdown
Contributor Author

@goderbauer this calls into Window.updateSemantics, is there a reasonable way to mock that or replace with a fake for testing? I don't see any examples of testing the actual SemanticsBuilder objects

@goderbauer

Copy link
Copy Markdown
Member

Sigh, I believe we don't have a way to mock that. :(

@goderbauer goderbauer left a comment

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.

LGTM

@yjbanov

yjbanov commented Jun 15, 2018

Copy link
Copy Markdown
Contributor

lgtm

@yjbanov

yjbanov commented Jun 15, 2018 •

Copy link
Copy Markdown
Contributor

Would be very cool if you could find a way to make this API testable.

@jonahwilliams
jonahwilliams merged commit 1793ed7 into flutter:master Jun 15, 2018
@jonahwilliams
jonahwilliams deleted the snackbar_focus branch June 15, 2018 18:22
srawlins added a commit to srawlins/flutter that referenced this pull request Jun 15, 2018
* master:
  Remove race conditions involving finding available ports (flutter#18488)
  Skip painting hidden children of a sliver list (flutter#18465)
  Fixed some typos (flutter#18516)
  update Tristate checkbox semantics to consider indeterminate as "unchecked" (flutter#18297)
  Add flutter tool support for creating app-specific VM snapshots. (flutter#18417)
  mention Text.rich on RichText (flutter#18434)
  invert children for real (flutter#18489)
  Fix clipping for SliverLists (flutter#18410)
  Keep TextFields visible when keyboard comes up (flutter#18291)
  Update all packages (flutter#18506)
  Prepare for upgrading video player in Gallery to newest version (flutter#18501)
  Update Android dependencies (flutter#18499)
  Enable running with prebuilt test-only apk (flutter#18453)
  Revert "Update all packages (flutter#18471)" (flutter#18492)
  Add some more dart doc to RepaintBoundary (flutter#17183)
  Update all packages (flutter#18471)
  Clean up output of "flutter run --release" (flutter#18380)
  Ensure errors launching emulators are exposed to the daemon (flutter#18446)
  Check video widget is mounted on call to setState (flutter#18467)
  Fixed concurrent list modification in vmservice.dart
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 10, 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.

SnackBar shown from scaffold is incorrectly ordered in semantics

4 participants