Status Update
Comments
ch...@gmail.com <ch...@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.
sk...@google.com <sk...@google.com>
sk...@google.com <sk...@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
ch...@gmail.com <ch...@gmail.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
ch...@gmail.com <ch...@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
ch...@gmail.com <ch...@gmail.com> #6
ch...@gmail.com <ch...@gmail.com> #7
(Note: It is the build when sending this report. For exact build reference, please see the attached bugreport.)
Image of what happens
Debugging information
Google Play services
com.google.android.gms
Version 222615044 (22.26.15 (190400-461192076))
System App (Updated)
Android System WebView
com.google.android.webview
Version 506007134 (103.0.5060.71)
System App (Updated)
Network operator: AT&T
SIM operator: AT&T
Filed by Android Beta Feedback. Version (Updated): 2.27-betterbug.external_20220615_RC01
To learn more about our feedback process, please visit
ch...@gmail.com <ch...@gmail.com> #8
sk...@google.com <sk...@google.com> #9
We are requesting you to test the issue on the latest build (TPB4.220624.008)
(
If the issue still exists, share us the latest bug report so we can take this issue forward. Thank you
ch...@gmail.com <ch...@gmail.com> #10
(Note: It is the build when sending this report. For exact build reference, please see the attached bugreport.)
Still happening on the newest build, but it wasn't as severe and rarely happens.
Debugging information
Google Play services
com.google.android.gms
Version 222615044 (22.26.15 (190400-461192076))
System App (Updated)
Android System WebView
com.google.android.webview
Version 506012934 (103.0.5060.129)
System App (Updated)
Network operator: AT&T
SIM operator: AT&T
Filed by Android Beta Feedback. Version (Updated): 2.27-betterbug.external_20220615_RC01
To learn more about our feedback process, please visit
ch...@gmail.com <ch...@gmail.com> #11
ch...@gmail.com <ch...@gmail.com> #12
al...@gmail.com <al...@gmail.com> #13
ps...@google.com <ps...@google.com>
al...@gmail.com <al...@gmail.com> #14
ch...@gmail.com <ch...@gmail.com> #16
ps...@google.com <ps...@google.com> #17
Thanks for the feedback, please let us know if the issue still persists on latest Android build.
ps...@google.com <ps...@google.com> #18
We’ll be closing this issue due to not having enough actionable information. If you continue to have this issue, please open a new issue and add the relevant information along with a reference link to the earlier issue.
Description
(Note: It is the build when sending this report. For exact build reference, please see the attached bugreport.)
What type of Android issue is this? User Interface, Display, or Rendering issue
What steps would let us observe this issue?
1. Open any app
2. Swipe up from the gesture navigation bar
What did you expect to happen?
No lag
What actually happened?
Lag and app wouldn't close
How often has this happened?
Occasionally
What was the effect of this issue on your device usage, such as lost time or work?
Slight
Debugging information
Google Play services
com.google.android.gms
Version 222413044 (22.24.13 (190400-455379205))
System App (Updated)
Android System WebView
com.google.android.webview
Version 506007134 (103.0.5060.71)
System App (Updated)
Network operator: AT&T
SIM operator: AT&T
Filed by Android Beta Feedback. Version (Updated): 2.27-betterbug.external_20220615_RC01
To learn more about our feedback process, please visit