Closed MaganAnkur closed 2 years ago
I have the same sort of issue +1
I need a better reproduction than this to investigate. I think rerenders can cause loop: true
to mess up with reanimated, so consider memoizing your components by wrapping them with useMemo or React.memo. Also, I don't know why you're creating an array with one item and mapping over that in your first component.
I need a better reproduction than this to investigate. I think rerenders can cause
loop: true
to mess up with reanimated, so consider memoizing your components by wrapping them with useMemo or React.memo. Also, I don't know why you're creating an array with one item and mapping over that in your first component.
@nandorojo Thanks for your response.
I wrapped Marker component in useMemo and it started working as expected and about an array with one item thats by mistake I was trying something and forgot to remove.
Closing this.
Thanks for such a great library.
I am facing an issue where in there are two different transitions happening on 2 diff components but seems like one component animation stops working when other transition hits.
##Marker
##Switch
If you notice user location animation is working as expected but as soon as I toggle the switch it stops animating,
Is it something to do with parallel transition, if yes can somebody pls suggest me how to do it.
Thanks in advance.
https://user-images.githubusercontent.com/42070594/154765288-f13a1965-72e0-4ccf-9cb4-d4dcc35292eb.mov
cc : @nandorojo