element-x-android
element-x-android copied to clipboard
androidx.compose-bom v2024.09.00 poll rendering regression
Steps to reproduce
Vote on a poll and notice it renders weirdly: https://github.com/element-hq/element-x-android/commit/9756afc5d1d2859ca1dbc94827736130ea0120f6#diff-137a3fe986cdfd070ed5df92df53e3b8fe61d01fbf579838fae3add428d49a38
Outcome
What did you expect?
No changes
What happened instead?
Wonky rendering
Your phone model
No response
Operating system version
No response
Application version and app store
No response
Homeserver
No response
Will you send logs?
No
Are you willing to provide a PR?
No
Seems related https://issuetracker.google.com/issues/365033302
Yes, detected during the PR review https://github.com/element-hq/element-x-android/pull/3399#discussion_r1764641667
As a possible workaround they say we could use this:
LinearProgressIndicator(
progress = { animatedProgress },
trackColor = MaterialTheme.colorScheme.surfaceVariant,
strokeCap = StrokeCap.Butt,
gapSize = 0.dp,
drawStopIndicator = null
)
https://github.com/element-hq/element-x-android/pull/3583 should fix this using the workaround provided by Google (https://github.com/element-hq/element-x-android/issues/3566#issuecomment-2388397829).