Artifact viewer bar: right above the tab bar and clickable
The viewer's action/pager bar added the inherited bottom clearance twice (its SafeArea already applies it), floating far above the tab bar. On the web an HTML preview's iframe passed behind the bars and, as a platform view, took every click there; it now stops at the bars. Also keep floating tabs in semantics while they fade in, which broke the badge announcements (5 failing tests on main since the entrance animation landed).
This commit is contained in:
@@ -726,6 +726,9 @@ void main() {
|
||||
);
|
||||
final pager = tester.getRect(find.byKey(artifactNextKey));
|
||||
expect(pager.bottom, lessThanOrEqualTo(size.height - 120));
|
||||
// Right above the stacked bar, not lifted by its clearance twice
|
||||
// (the bar is one 56 px pill above the inset plus its margin).
|
||||
expect(pager.bottom, greaterThanOrEqualTo(size.height - 120 - 56));
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user