-
-
Notifications
You must be signed in to change notification settings - Fork 453
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
Update redux state in Accordion renderContent not update the view #437
Comments
I have the same issue |
@oblador Any update? |
I have the same issue :( |
Try adding flex: 1 on the Animatable.view style adding flex: 1 to the child of renderContent props fixed that for me |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I have a rendering problem with
<Accordion />
inrenderContent
prop. I recorded the screen to clarify the problem better.Screen.Recording.2022-05-08.at.11.33.46.mov
I'll explain the behavior it should have: the button I clicked should decrease the quantity field (above the button) from 2 to 1 but as you can see from the video the component disappears. If I collapse the header up and then collapse it down, the component is displayed again with the right quantity updated. I use redux to manage the status of my application.
Without Accordion it works great, but I would like it to work here too because it's a fanstatic component (congratulations). I have read other issues with similar behavior but have not found any solution
The code:
renderItem
is a simple component with nestedView
,Text
andTouchableOpacity
.I hope I was clear.
The text was updated successfully, but these errors were encountered: