Skip to content

How to hide the scroll thumb? #48

@postpasspost

Description

@postpasspost

Is it possible to hide the scroll thumb if the list of items doesn't take an entire page?
I tried creating a custom scroll indicator, and setting it to an empty container if the list of items is less than 20 items for example. But if I do that I can't show the labelTextBuilder or use DraggableScrollbar.arrows

I would also like to know how to hide the scroll indicator if the user is using pull-to-refresh.

(Current simple solution: list.length > 8 ? DraggableScrollbar(list) : list)

Other question: How can I reset the scroll indicator position?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions