Skip to content
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

ListTemplate flickering on iOS #181

Open
KestasVenslauskas opened this issue Apr 23, 2024 · 2 comments
Open

ListTemplate flickering on iOS #181

KestasVenslauskas opened this issue Apr 23, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@KestasVenslauskas
Copy link

When opening ListTemplate for the first time the selection flickers between first items.

Steps to reproduce the behavior:

  1. Create a new list template with few items.
  2. Push template
  3. Observe items flickering

Expected behavior
List should be opened with first item highlited only

  • OS version iOS 17
  • RNCarPlay version 2.3.0
carplay.mov

When poping and pushing the same template again it works as expected. The issue is visible only for the first time.

@KestasVenslauskas KestasVenslauskas added the bug Something isn't working label Apr 23, 2024
@birkir
Copy link
Owner

birkir commented Apr 27, 2024

Can you maybe share a piece of code that we can use to reproduce it?

@KestasVenslauskas
Copy link
Author

@birkir This is actually an app with public repository.
This is how I create template (single instance).
https://github.com/lrtlt/mobile/blob/master/app/car/newest/createPlayNewestTemplate.ts

This is how I populate list items
https://github.com/lrtlt/mobile/blob/master/app/car/newest/useCarNewestTemplate.ts

Maybe this is the reason that I populate data after I create the template?
CarPlay implementation went through few iterations, but all of them gave this flickering bug.
Also if I want to update a single list item it gives also weird flickering and wrong item is selected afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants