birkir / react-native-carplay

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

List Template - Select item does not register select event #100

Closed vladamx closed 2 years ago

vladamx commented 2 years ago

Do any of you have issues with selecting the item from the list?

More precisely - select event is not registered always. Sometimes you need to tap multiple times on an item in order for select to be registered.

For context: On select i push new template to the stack (pushTemplate) and after that user gets returned to the list with popTemplate(popTemplate).

Usually, when the list is presented for the first time it registers event instantly but if i get back via popTemplate the list item is only selected with blue highlight and does not receive further events until after i start tapping on the item for numerous times.

vladamx commented 2 years ago

Haven't called completion function that is passed by CarPlay after async stuff is done