Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ListView: Allow styling of the tapped item (i.e. active, highlighted) #10475

Copy link
Copy link
Open
@jasongitmail

Description

@jasongitmail
Issue body actions

Is your feature request related to a problem? Please describe.

The ListView component offers a couple properties for styling: separatorColor="#3d3d3d", backgroundColor="#000000". However it does not provide a property to style the background color when tapping on an item.

Describe the solution you'd like

Add a property to allow to set the background color used when an item is tapped.

E.g. backgroundActiveColor: #555555

Describe alternatives you've considered

I tried to solve this by styling the Template's child element and using touch events like this, however the ListView also adds padding around the child that is not possible to remove or adjust, meaning the default active style will always appear in the padding area anyway.

Anything else?

No response

Please accept these terms

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.