You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if it is a bug or an intended behavior/simplification.
If there are no pages then I would expect that HorizontalPagerIndicator displays nothing rather than a single dot.
Steps to reproduce
Use the following code snippet:
val pagerState = rememberPagerState()
HorizontalPager(
count =0,
state = pagerState,
) { }
HorizontalPagerIndicator(pagerState = pagerState)
Expected behavior
HorizontalPagerIndicator displays a single dot.
Additional context
Nothing is displayed.
Environment
composeCompiler version 1.3.0
compose version 1.2.1
accompanist version 0.25.1
The text was updated successfully, but these errors were encountered:
Description
I'm not sure if it is a bug or an intended behavior/simplification.
If there are no pages then I would expect that HorizontalPagerIndicator displays nothing rather than a single dot.
Steps to reproduce
Use the following code snippet:
Expected behavior
HorizontalPagerIndicator displays a single dot.
Additional context
Nothing is displayed.
Environment
The text was updated successfully, but these errors were encountered: