Status Update
Comments
t....@gmail.com <t....@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
Description
What
User experience
What type of Android issue is this?
Other issue
What steps would let us observe this issue?
What did you expect to happen?
In the past, the issue didn't persist. Probably it's related to beta.
What actually happened?
Phone restarting randomly
What was the effect of this issue on your device usage, such as lost time or work?
Extreme - device was unusable
When
Time and frequency
When did this happen?
Dec 2, 2024 8:05 PM GMT+01:00
How often has this happened?
Frequently
Where
Component
Suggested component: <not visible> (1630575)
Build and device data
- Build Number: google/bluejay_beta/bluejay: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
Usługi Google Play
com.google.android.gms
Version 244534035 (24.45.34 (260400-699214190))
System App (Updated)
Android System WebView
com.google.android.webview
Version 677803933 (131.0.6778.39)
System App (Updated)
Network operator: T-Mobile.pl
SIM operator: T-Mobile.pl
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