Skip to content

A scroll widget without a scroll bar #5607

Open
@ErikKalkoken

Description

@ErikKalkoken

Checklist

  • I have searched the issue tracker for open issues that relate to the same feature, before opening a new one.
  • This issue only relates to a single feature. I will open new issues for any other features.

Is your feature request related to a problem?

I am developing a search feature for a mobile app. There are a several filters that the user can toggle, which are shown as a row of filter chips under the search bar. There are usually more chips then fit on the width of the screen, so the chips can scroll horizontally.

The chips are currently inside a container.NewHScroll(). However, this widget shows a scroll bar and I would like to be able to scroll the chips horizontally without a scroll bar. In my opinion the scrollbar is not strictly necessary in this case, so I like to avoid the additional visual clutter. Also, other mobile apps don't have a scroll bar for this feature (e.g. IMDB search).

Example:

image

Source: Material Design 3 - Chips - Guidelines

Is it possible to construct a solution with the existing API?

No

Describe the solution you'd like to see.

I would suggest to add a field like HideScrollBar to the widget.Scroll type. Similar to the current Direction field or the HideSeperators fields in the List widget.

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