Status Update
Comments
jo...@google.com <jo...@google.com>
jo...@google.com <jo...@google.com> #2
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
ro...@veeva.com <ro...@veeva.com> #3
This is still happening with the latest compose 1.4.0-alpha06. Any ETA for a proper fix?
jo...@google.com <jo...@google.com> #4
Hi, 1.4.0-alpha06 did not include a fix for this. We are working on the fix and are aiming to include it in one of the next releases.
le...@gmail.com <le...@gmail.com> #5
1.4.0-beta01 and 1.4.0-beta02 are out and the crash is still there. What is delaying the fix for so long?
mi...@lppsa.com <mi...@lppsa.com> #6
kn...@gmail.com <kn...@gmail.com> #7
ap...@google.com <ap...@google.com> #8
Branch: androidx-main
commit 8cfec3ca487c6f0102eeceab5e57939b36162908
Author: Jossi Wolf <jossiwolf@google.com>
Date: Wed Feb 15 22:25:44 2023
Snap opportunistically in Modal Bottom Sheet
We now use the trySnapTo API to attempt to snap immediately, instead
of launching a coroutine that would most likely only run in the next
frame.
Since we rely on the anchor change handler to initialize the
Swipeable state by snapping if no anchor is found for the initial
value, we need to update the offset immediately, not only a frame
later.
Relnote: "Fixed an issue where ModalBottomSheetLayout would crash
in an edge case on orientation change. Layout animations (e.g.
`Modifier.animateContentSize`) in/on the sheet content now work
smoothly."
Test: modalBottomSheet_anchorChangeHandler_missingAnchor
_immediatelySnapsForInitialization
Bug: 266780234
Change-Id: I2f981d892f163254f0282d6874fb860aae5d0992
M compose/material/material/src/androidAndroidTest/kotlin/androidx/compose/material/ModalBottomSheetTest.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/ModalBottomSheet.kt
ro...@veeva.com <ro...@veeva.com> #9
Is the fix from #8 supposed to be included in 1.4.0-rc01
? Because I can still reproduce it with this version.
ch...@gmail.com <ch...@gmail.com> #10
In androidx.compose.material3:material3:1.1.0-alpha08
, switching screen orientation has been fixed. However, the same problem still occurs when switching to dark mode.
jo...@google.com <jo...@google.com> #11
#9, the fix will be included in the next release.
#10, this issue is about M2's ModalBottomSheetLayout
. If you are encountering this issue with another component, can you file a new issue?
jo...@google.com <jo...@google.com>
sk...@gmail.com <sk...@gmail.com> #12
#9, the fix will be included in the next release.
Do you mean the next 1.4 release? Thanks.
ka...@markaz.app <ka...@markaz.app> #13
we are using 1.4.0-alpha-05.
pr...@google.com <pr...@google.com> #14
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.material:material:1.5.0-alpha01
jo...@google.com <jo...@google.com> #15
This issue has been fixed in 1.5.0-alpha01.
jo...@google.com <jo...@google.com> #17
The issue mentioned on KotlingLang was about BottomSheetScaffold and has been fixed, with the fix included in the next alpha release.
ka...@gmail.com <ka...@gmail.com> #18
he...@shortcut.io <he...@shortcut.io> #19
jo...@google.com <jo...@google.com> #20
Hello, we will not cherry-pick this fix as it depends on other changes. We understand this is frustrating but would encourage you to update to alpha or wait for the next beta.
ph...@gmail.com <ph...@gmail.com> #21
hi google please help me
androidx-compose-material3 = { group = "androidx.compose.material3", name = "material3", version.ref = "1.0.1" }
Description
Jetpack Compose version: 1.4.0-alpha05
Jetpack Compose component used: compose.material/ModalbottomSheetLayout
Android Studio Build: Electric Eel 2022.1.1 Build #AI-221.6008.13.2211.9477386
Kotlin version: 1.8.0
Seems that the fix in https://issuetracker.google.com/issues/265444789 didn't work fully. When the sheet content is in halfExpanded and is recreated to a screen where it cannot be halfExpanded (height is < 50 % of the screen height) it crashes.
Steps to Reproduce or Code Sample to Reproduce:
Stack trace (if applicable):