-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Constraint.Wrap layouts when a view is larger than its parent (#2337
) * Fix Constraint.Wrap layouts when a view is larger than its parent These were incorrectly overflowing the parent container because we were applying the target size at the wrong layer. This fixes an ugly inconsistency between iOS and Android, and makes the iOS layouts less surprising. #2128 * CHANGELOG
- Loading branch information
1 parent
3a40ceb
commit 1841aed
Showing
14 changed files
with
96 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...mposeui_ComposeUiFlexContainerTest_testChildIsConstrainedToParentWidth[LTR].png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...mposeui_ComposeUiFlexContainerTest_testChildIsConstrainedToParentWidth[RTL].png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...apshots__/UIViewFlexContainerTestHost/testChildIsConstrainedToParentWidth.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...utUIViewTests/__Snapshots__/UIViewFlexContainerTestHost/testColumnThenRow.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
....layout.view_ViewFlexContainerTest_testChildIsConstrainedToParentWidth[LTR].png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
....layout.view_ViewFlexContainerTest_testChildIsConstrainedToParentWidth[RTL].png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...ut.composeui_ComposeUiLazyListTest_testChildIsConstrainedToParentWidth[LTR].png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...ut.composeui_ComposeUiLazyListTest_testChildIsConstrainedToParentWidth[RTL].png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...ew_ViewLazyListAsFlexContainerTest_testChildIsConstrainedToParentWidth[LTR].png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...ew_ViewLazyListAsFlexContainerTest_testChildIsConstrainedToParentWidth[RTL].png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.