birkir / react-native-carplay

CarPlay with React Native
https://birkir.dev/react-native-carplay/
MIT License
642 stars 107 forks source link

[QUESTION] Elements disappear(ed) #67

Closed 3plusalpha closed 2 years ago

3plusalpha commented 2 years ago

I am replicating the map view of the example app in my own project. It seems there is a layout issue, which I am not sure of by what it is caused.

Basically all elements created by react are appearing for a very short moment and then they get animated to disappear

https://user-images.githubusercontent.com/1685307/136293706-99df3f44-1bc4-4f90-ba8a-4188e0233a3c.mov

Is this a known issue? I am on IOS 14.5

tomdye commented 2 years ago

Im not sure what part of this is the issue? I believe you're clicking the start button which is then hiding that modal over the map. This is underlying car play functionality and I believe is as expected. Can you explain what you're trying to change about the above behaviour?

3plusalpha commented 2 years ago

Well, I would expect that the layout looks like this:

https://github.com/birkir/react-native-carplay/blob/master/.github/mapTemplateRoutes.png

But instead I get this funny behavior shown in the video. I am only starting the application and don't click anything.

Please try to play back the video slowly: the card (title: Disney Land) animates from the top into the canvas and when it reaches it destination it animates immediately to the right and disappears. I don't know this behavior from any other app and it also doesn't make any sense from user point of view

tomdye commented 2 years ago

if you've started navigation then that view will dissapear

3plusalpha commented 2 years ago

Ok, I think I misunderstood something. Gonna close the issue