Skip to content

How to hide the scroll thumb? #48

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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