Fixed
Status Update
Comments
ma...@google.com <ma...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 9082f62682f853ad5251a1c79dde9eccba7abdd9
Author: Max Alfonso-Ying <maxying@google.com>
Date: Thu Apr 18 00:34:40 2024
[M2 text field] Apply background to decoration box
...instead of to the BasicTextField, so changing the
backgroundColor will properly change the decoration
box's background color.
Fixes: b/307694651
Test: added unit tests
Relnote: "Fix backgroundColor not applying to
TextFieldDecorationBox and OutlinedTextFieldDecorationBox.
Decoration boxes now accept a `shape` parameter."
Change-Id: I371c26718597cb36ac537e9412ce476532afb40d
M compose/material/material/api/current.txt
M compose/material/material/api/restricted_current.txt
M compose/material/material/integration-tests/material-demos/src/main/java/androidx/compose/material/demos/TextFieldDecorationBoxDemos.kt
M compose/material/material/src/androidInstrumentedTest/kotlin/androidx/compose/material/textfield/TextFieldDecorationBoxTest.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/TextField.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/TextFieldDefaults.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/TextFieldImpl.kt
https://android-review.googlesource.com/3046833
Branch: androidx-main
commit 9082f62682f853ad5251a1c79dde9eccba7abdd9
Author: Max Alfonso-Ying <maxying@google.com>
Date: Thu Apr 18 00:34:40 2024
[M2 text field] Apply background to decoration box
...instead of to the BasicTextField, so changing the
backgroundColor will properly change the decoration
box's background color.
Fixes:
Test: added unit tests
Relnote: "Fix backgroundColor not applying to
TextFieldDecorationBox and OutlinedTextFieldDecorationBox.
Decoration boxes now accept a `shape` parameter."
Change-Id: I371c26718597cb36ac537e9412ce476532afb40d
M compose/material/material/api/current.txt
M compose/material/material/api/restricted_current.txt
M compose/material/material/integration-tests/material-demos/src/main/java/androidx/compose/material/demos/TextFieldDecorationBoxDemos.kt
M compose/material/material/src/androidInstrumentedTest/kotlin/androidx/compose/material/textfield/TextFieldDecorationBoxTest.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/TextField.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/TextFieldDefaults.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/TextFieldImpl.kt
jo...@google.com <jo...@google.com> #3
This will be addressed with the Swipeable V2 migration :)
ap...@google.com <ap...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-main
commit 782309ea04a9712abcfa7e2b8ff8c6187d40a748
Author: Jossi Wolf <jossiwolf@google.com>
Date: Mon Aug 22 18:09:13 2022
Migrate BottomSheetScaffold.kt to Swipeable V2
Test: Existing tests
Relnote: Incorporated changes in the Swipeable APIs in `BottomSheetScaffold`. `BottomSheetState`'s `confirmStateChange` param has been renamed to `confirmValueChange`. `progress` is now exposed as a float value. `animateTo` and `snapTo` are internal. Use `expand()` and `collapse()` instead. `direction` and `overflow` have been removed. `offset` has been replaced with `requireOffset()`.
Bug: 254446195, 239672689, 239207288, 221094909, 203683941, 202868798, 199562360, 194425016
Change-Id: I323b4ebe42e5a3817f27759749d72ad222ac084b
M compose/material/material/api/public_plus_experimental_1.4.0-beta01.txt
M compose/material/material/api/public_plus_experimental_current.txt
M compose/material/material/src/androidAndroidTest/kotlin/androidx/compose/material/BottomSheetScaffoldTest.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/BottomSheetScaffold.kt
https://android-review.googlesource.com/2191920
Branch: androidx-main
commit 782309ea04a9712abcfa7e2b8ff8c6187d40a748
Author: Jossi Wolf <jossiwolf@google.com>
Date: Mon Aug 22 18:09:13 2022
Migrate BottomSheetScaffold.kt to Swipeable V2
Test: Existing tests
Relnote: Incorporated changes in the Swipeable APIs in `BottomSheetScaffold`. `BottomSheetState`'s `confirmStateChange` param has been renamed to `confirmValueChange`. `progress` is now exposed as a float value. `animateTo` and `snapTo` are internal. Use `expand()` and `collapse()` instead. `direction` and `overflow` have been removed. `offset` has been replaced with `requireOffset()`.
Bug: 254446195, 239672689, 239207288, 221094909, 203683941, 202868798, 199562360, 194425016
Change-Id: I323b4ebe42e5a3817f27759749d72ad222ac084b
M compose/material/material/api/public_plus_experimental_1.4.0-beta01.txt
M compose/material/material/api/public_plus_experimental_current.txt
M compose/material/material/src/androidAndroidTest/kotlin/androidx/compose/material/BottomSheetScaffoldTest.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/BottomSheetScaffold.kt
ap...@google.com <ap...@google.com> #5
Project: platform/frameworks/support
Branch: androidx-main
commit 8bc84c03b64403daca308e3da3d1148d4bfe1f68
Author: Jossi Wolf <jossiwolf@google.com>
Date: Fri Mar 31 09:47:10 2023
[M2] Snap opportunistically in BottomSheetScaffold
See aosp/2440691. This optimizes layout animations in BottomSheetScaffold.
Test: Manual test
Relnote: Animated sheet content (e.g. Modifier.animateContentSize on sheet content) in BottomSheetScaffold has been optimized and now works smoothly.
Fixes: 270518202
Fixes: 254446195
Change-Id: Ia913cf9c75949c25a5cc1a6f6dc2b650c95793b9
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/BottomSheetScaffold.kt
https://android-review.googlesource.com/2517255
Branch: androidx-main
commit 8bc84c03b64403daca308e3da3d1148d4bfe1f68
Author: Jossi Wolf <jossiwolf@google.com>
Date: Fri Mar 31 09:47:10 2023
[M2] Snap opportunistically in BottomSheetScaffold
See aosp/2440691. This optimizes layout animations in BottomSheetScaffold.
Test: Manual test
Relnote: Animated sheet content (e.g. Modifier.animateContentSize on sheet content) in BottomSheetScaffold has been optimized and now works smoothly.
Fixes: 270518202
Fixes: 254446195
Change-Id: Ia913cf9c75949c25a5cc1a6f6dc2b650c95793b9
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/BottomSheetScaffold.kt
pr...@google.com <pr...@google.com> #6
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.material:material:1.5.0-alpha03
Description
1.2.1
Jetpack Compose component(s) used:
BottomSheetScaffold
Android Studio Build:
Android Studio Dolphin | 2021.3.1 RC 1
Kotlin version:
1.6.10
Steps to Reproduce or Code Sample to Reproduce:
When the keyboard opens or closes, there is an animation of shaking.
Sample code here:
Video in attach