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

How to place component next to Accordion List header? #3125

Open
mggevaer opened this issue Mar 19, 2022 · 1 comment
Open

How to place component next to Accordion List header? #3125

mggevaer opened this issue Mar 19, 2022 · 1 comment

Comments

@mggevaer
Copy link

mggevaer commented Mar 19, 2022

Essentially I am trying to do the same as this user:
#3065

I created a smaller snack example of what goes wrong:
https://snack.expo.dev/ZLAdZjkes

In the original issue, it's mentioned that it's not possible to make components passed to "left" pressable. But perhaps it is possible to place a component next to the header, without moving the entire accordion list?
Is this possible?

image

Some context:

I am using an accordionlist where each item in the list would be a switch and some text, representing a filter to activate/deactivate. so essentially a long options list. The switch in the header would have the role of enabling or disabling all filters.

react-native: ^0.67.4
react-native-paper: ^4.11.2
react-native-vector-icons: ^9.1.0

@github-actions
Copy link

Couldn't find version numbers for the following packages in the issue:

  • react-native-vector-icons

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

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

No branches or pull requests

1 participant