Closed rafaelasobralguerra closed 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.
Accompanist Pager has now been deprecated as we have upstreamed it to the main Compose library and so I am closing this bug.
Please retest your issue using Compose Foundation Pager in the March release. You can see our migration guide for help and if this is still an issue, please file a bug at goo.gle/compose-feedback.
Describe the bug
Central item on horizontal pager his behind the right items and it's impossible to applying a z-index to the modifier because Box container modifier it's not exposed (
| Box[Page] | Box[Page] | Box[Page]
).Applying
.zIndex(if (page == currentPage) 1f else 0f)
to the Page doesn't workTo Reproduce
Expected behavior
Blue square should be on top of other items once it's the viewpager item selected (square focused)
Screenshots?
Blue square = items[0] is the item selected on the viewpager
Environment: