We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18a49ca commit 7c99f8fCopy full SHA for 7c99f8f
packages/flutter/test/widgets/nested_scroll_view_test.dart
@@ -599,9 +599,15 @@ void main() {
599
return child;
600
}
601
if (child is ContainerLayer) {
602
- final PhysicalModelLayer? candidate = _dfsFindPhysicalLayer(child);
603
- if (candidate != null) {
604
- return candidate;
+ Layer? innerChild = child.firstChild;
+ while (innerChild != null) {
+ if (innerChild is ContainerLayer) {
605
+ final PhysicalModelLayer? candidate = _dfsFindPhysicalLayer(innerChild);
606
+ if (candidate != null) {
607
+ return candidate;
608
+ }
609
610
+ innerChild = innerChild.nextSibling;
611
612
613
child = child.nextSibling;
0 commit comments