google / accompanist

A collection of extension libraries for Jetpack Compose
https://google.github.io/accompanist
Apache License 2.0
7.38k stars 596 forks source link

Active bullet offset is calculated wrong - Again #1653

Closed arlm1 closed 1 year ago

arlm1 commented 1 year ago

Description An error that previously was reported on https://github.com/google/accompanist/issues/623 is happening again (see attached screenshot):

last dot error

The issue only happens with the last dot. All other dots (first + the ones in the middle) are correctly aligned with the active dot. I am using androidx.compose.foundation.pager.HorizontalPager + com.google.accompanist.pager.HorizontalPagerIndicator. These are the versions I have:

kotlin = "1.8.21" compose = "1.4.3" composeCompiler = "1.4.7" accompanist = "0.30.1"

I am running on a Galaxy S23 Ultra with Android 13

A fix was implemented previously with this PR: https://github.com/google/accompanist/pull/624 but it seems it is happening again

andkulikov commented 1 year ago

Feel free to contribute the fix if you don't mind

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.