Status Update
Comments
je...@google.com <je...@google.com>
ma...@google.com <ma...@google.com> #2
2g...@gmail.com <2g...@gmail.com> #3
Thanks for the report!
po...@google.com <po...@google.com>
ed...@gmail.com <ed...@gmail.com> #4
The release notes documentation has been edited to clarify this change in behavior for line height.
To support non-standard text sizes, we encourage users to follow the Material design system and use a different style = LocalTextStyle.current.copy(lineHeight = TextUnit.Unspecified)
, or create a custom Typography
entirely.
ed...@gmail.com <ed...@gmail.com> #5
br...@gmail.com <br...@gmail.com> #6
In my case, I have multiple font sizes in the same Text
(using SpanStyle
in AnnotatedString
). There are legitimate reasons for this. For example, when combining Chinese and English (phonetic) together (for language-learning purposes).
ma...@google.com <ma...@google.com>
ma...@google.com <ma...@google.com>
ap...@google.com <ap...@google.com> #7
Branch: androidx-main
commit 059c7f3c39ad8a0abe5bb10d04a65967cfd7ebc8
Author: Max Alfonso-Ying <maxying@google.com>
Date: Tue Oct 25 01:01:58 2022
Fix ExposedDropdownMenu opening while scrolling
Fixes:
Test: new tests in ExposedDropdownMenuTest
Relnote: "`awaitFirstDown` and `waitForUpOrCancellation` now
accept a PointerEventPass for greater flexibility."
Change-Id: I7579a2dbb44c748a3fd3e515d2e7ab086aaff443
M compose/foundation/foundation/api/current.ignore
M compose/foundation/foundation/api/current.txt
M compose/foundation/foundation/api/public_plus_experimental_current.txt
M compose/foundation/foundation/api/restricted_current.ignore
M compose/foundation/foundation/api/restricted_current.txt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/Draggable.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/TapGestureDetector.kt
M compose/material/material/src/androidAndroidTest/kotlin/androidx/compose/material/ExposedDropdownMenuTest.kt
M compose/material/material/src/androidMain/kotlin/androidx/compose/material/ExposedDropdownMenu.kt
M compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/ExposedDropdownMenuTest.kt
M compose/material3/material3/src/androidMain/kotlin/androidx/compose/material3/ExposedDropdownMenu.kt
na...@google.com <na...@google.com> #8
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.foundation:foundation:1.4.0-alpha02
androidx.compose.material:material:1.4.0-alpha02
androidx.compose.material3:material3:1.1.0-alpha02
Description
Jetpack Compose release version: 1.1.0-rc01
Android Studio Build: 2020.3.1 Patch 4
Kotlin version: 203-1.6.10-release-923-AS7717.8
When you want to scroll the screen the menu is displayed if you tap the component. The attached GIF shows the problem.
To reproduce, just run the code below.
ExposedDropdownMenuSample was taken from the official samples herehttps://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/material/material/samples/src/main/java/androidx/compose/material/samples/ExposedDropdownMenuSamples.kt .