Status Update
Comments
da...@gmail.com <da...@gmail.com>
da...@gmail.com <da...@gmail.com> #2
Hey, thanks for the report. I looked into this, and what's actually happening is that the text field is larger than it should be in the unfocused state, and when it gets focused, it is shrinking to the correct size. This will be fixed soon.
However, for your specific example, you may want to change the text field padding in addition to the overall height. Otherwise, small text field sizes will be mostly padding and leave no space for the text itself. If you are using Material 2, this must be done manually using BasicTextField
+ TextFieldDefaults.OutlinedTextFieldDecorationBox
. If you are using Material 3, consider using the newest overload of OutlinedTextField
that uses TextFieldState
and has a contentPadding
parameter.
so...@google.com <so...@google.com>
so...@google.com <so...@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
so...@google.com <so...@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
ra...@gmail.com <ra...@gmail.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
ra...@gmail.com <ra...@gmail.com> #6
Information redacted by Android Beta Feedback.
Description
What
User experience
What type of Android issue is this?
Reboot, Crash or Device Hang
What steps would let us observe this issue?
What did you expect to happen?
I expected to complete my game.
What actually happened?
My screen went black and my phone rebooted.
What was the effect of this issue on your device usage, such as lost time or work?
Slight
When
Time and frequency
When did this happen?
Nov 13, 2024 5:58 AM GMT-04:00
How often has this happened?
Occasionally
Where
Component
Suggested component: <not visible> (1630575)
Build and device data
- Build Number: google/oriole_beta/oriole:15/BP11.241025.006/12620009:user/release-keys
(Note: It is the build when sending this report. For exact build reference, please see the attached bugreport.)
Debugging information
Google Play services
com.google.android.gms
Version 244337035 (24.43.37 (260400-693941914))
System App (Updated)
Android System WebView
com.google.android.webview
Version 672310733 (130.0.6723.107)
System App (Updated)
Network operator: Public Mobile
SIM operator: Public Mobile
Filed by Android Beta Feedback. Version (Updated): 2.46-betterbug.external_20241023_RC01 (DOGFOOD)https://developer.android.com/preview/feedback#feedback-app .
To learn more about our feedback process, please visit