Fixed
Status Update
Comments
an...@google.com <an...@google.com>
ma...@google.com <ma...@google.com>
ma...@google.com <ma...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 23a7d960caf43390a554700d3c56ada189a9d10e
Author: Louis Pullen-Freilich <lpf@google.com>
Date: Mon Aug 10 15:11:36 2020
IconButton / IconToggleButton API scrub
Test: ./gradlew updateApi
Bug: b/161809385
Bug: b/161807956
Relnote: "Adds enabled parameter to IconButton, and reorders parameters in IconToggleButton"
Change-Id: I0a9419b1a631cadad451395302ad87b7f9214f96
M ui/ui-material/api/current.txt
M ui/ui-material/api/public_plus_experimental_current.txt
M ui/ui-material/api/restricted_current.txt
M ui/ui-material/src/commonMain/kotlin/androidx/compose/material/IconButton.kt
https://android-review.googlesource.com/1394868
Branch: androidx-master-dev
commit 23a7d960caf43390a554700d3c56ada189a9d10e
Author: Louis Pullen-Freilich <lpf@google.com>
Date: Mon Aug 10 15:11:36 2020
IconButton / IconToggleButton API scrub
Test: ./gradlew updateApi
Bug:
Bug:
Relnote: "Adds enabled parameter to IconButton, and reorders parameters in IconToggleButton"
Change-Id: I0a9419b1a631cadad451395302ad87b7f9214f96
M ui/ui-material/api/current.txt
M ui/ui-material/api/public_plus_experimental_current.txt
M ui/ui-material/api/restricted_current.txt
M ui/ui-material/src/commonMain/kotlin/androidx/compose/material/IconButton.kt
ma...@google.com <ma...@google.com>
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
Author: Max Alfonso-Ying <
Link:
Clean up text field size calculations
Expand for full commit details
Clean up text field size calculations
Bug: b/356905963
Test: existing unit tests
Relnote: "Fix text field size modifiers sometimes not being followed."
Change-Id: I98895ce82f45ba7c9df67cfa787c08f0460426db
Files:
- 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/TextFieldImpl.kt
- M
compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt
- M
compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TextField.kt
Hash: 93f37ea8ad82aa7e65743b36f08d6f4b404c6465
Date: Mon Dec 02 20:09:00 2024
ma...@google.com <ma...@google.com>
ap...@google.com <ap...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-main
Author: Max Alfonso-Ying <
Link:
Clean up text field size calculations
Expand for full commit details
Clean up text field size calculations
Bug: b/356905963
Test: existing unit tests
Relnote: "Fix text field size modifiers sometimes not being followed."
Change-Id: I90d4c690aabd1b4e35cb3934998a8c379671163f
Files:
- 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/TextFieldImpl.kt
- M
compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt
- M
compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TextField.kt
Hash: 3dfabb8562bd2ad420bc20b8a2dabf316dc6c562
Date: Wed Dec 04 20:44:55 2024
pr...@google.com <pr...@google.com> #5
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.material:material:1.8.0-alpha07
androidx.compose.material:material-android:1.8.0-alpha07
androidx.compose.material:material-jvmstubs:1.8.0-alpha07
androidx.compose.material:material-linuxx64stubs:1.8.0-alpha07
Description
Jetpack Compose version:
Jetpack Compose component(s) used: OutlinedTextField
Android Studio Build: Koala
Kotlin version:
Steps to Reproduce or Code Sample to Reproduce:
Create a simple Composable function containing an OutlinedTextField with a fixed height constraint (e.g., using
Modifier.height(42.5.dp)
)Run the app on an emulator.
Observe that the OutlinedTextField initially displays with the correct fixed height.
Tap on the OutlinedTextField to bring it into focus.
Notice that the height of the OutlinedTextField shrinks unexpectedly, despite the fixed height constraint.
Code
Stack trace (if applicable):