callstack / callstack/react-native-paper
How to place component next to Accordion List header?
- Ngôn ngữ chính
- TypeScript
- Star
- 14.5k
- Fork
- 2.2k
- Merge trung bình
- 5 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 12
Mô tả
Essentially I am trying to do the same as this user:
https://github.com/callstack/react-native-paper/issues/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?

## 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
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện ví dụ Snack được liên kết và xem xét issue #3065 về hành vi hiện tại của AccordionList. Xác định liệu component được yêu cầu có thể nằm cạnh header và vẫn có thể được nhấn độc lập hay không; issue được hoàn tất khi hành vi đó được xác nhận rõ ràng hoặc thay đổi cần thiết được giới hạn trong một component entry point cụ thể.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- react-native, typescript
- Lĩnh vực
- frontend, mobile
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100