Fixed
Status Update
Comments
po...@google.com <po...@google.com>
ex...@gmail.com <ex...@gmail.com> #2
I spent a bit of time chasing this down because I never considered it could be a bug in Compose. But then I finally eliminated everything else, and then searched and found this issue... Will the fix be coming in beta03?
co...@google.com <co...@google.com>
co...@google.com <co...@google.com> #3
compose.material3 is in 1.0.0-alpha, we plan to fix this in the next alpha release.
ex...@gmail.com <ex...@gmail.com> #4
Oh right, sorry; I tend to think only in terms of the main Compose UI release (every other Wednesday). Thanks.
ap...@google.com <ap...@google.com> #5
Project: platform/frameworks/support
Branch: androidx-main
commit 887ce915510688f968041ef580fc2696617431cb
Author: Connie Shi <connieshi@google.com>
Date: Tue Nov 16 21:11:14 2021
Fix bug that hardcoded button to always be enabled.
Bug: 205335456
Test: Added unit tests in ButtonTest
Relnote: "Fixed but that hardedcoded button to always be enabled."
Change-Id: Iea83268475294e78cb91b5da802d11ab4a7a6f3a
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Button.kt
A compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/ButtonTest.kt
https://android-review.googlesource.com/1894795
Branch: androidx-main
commit 887ce915510688f968041ef580fc2696617431cb
Author: Connie Shi <connieshi@google.com>
Date: Tue Nov 16 21:11:14 2021
Fix bug that hardcoded button to always be enabled.
Bug: 205335456
Test: Added unit tests in ButtonTest
Relnote: "Fixed but that hardedcoded button to always be enabled."
Change-Id: Iea83268475294e78cb91b5da802d11ab4a7a6f3a
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Button.kt
A compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/ButtonTest.kt
co...@google.com <co...@google.com>
ex...@gmail.com <ex...@gmail.com> #6
Confirming the fix works for me in alpha02. Thanks!
Description
Well, I guess the implementation was just missed due to the rush