Skip to content

Ability to center within height or at least adjust its height when page count dynamically changes #3

@kpeck-north

Description

@kpeck-north

Using this with a Vertical Pager that has dynamic page count. I.e. it might start with 3 pages but the pager is in a draggable bottom sheet so user may drag it to half of screen vs. full screen. The page count could be 5 now or even 6.

It seems the height of this control is only calculated once. It does function with more pages but the dots have to scroll into view even though there is plenty of room on the right edge of the screen.

If I set the PageIndicator to modifier.fullHeight() then it just paints the dots at the very top of the control, not centered as I would like them to be. Maybe this could be the easier solution to have it paint from center of given height, even if just a new setting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions