Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
jasongitmail opened this issue Jan 17, 2024 · 0 comments
Open
2 tasks done
Labels
feature-pending-triage A new feature request pending triage to confirm validity.

Comments

@jasongitmail
Copy link

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

@jasongitmail jasongitmail added the feature-pending-triage A new feature request pending triage to confirm validity. label Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-pending-triage A new feature request pending triage to confirm validity.
Projects
None yet
Development

No branches or pull requests

1 participant