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

itemTemplateSelector paint different with recycling #78

Open
vallemar opened this issue Apr 8, 2024 · 3 comments
Open

itemTemplateSelector paint different with recycling #78

vallemar opened this issue Apr 8, 2024 · 3 comments
Labels
wontfix This will not be worked on

Comments

@vallemar
Copy link
Contributor

vallemar commented Apr 8, 2024

I am using the itemTemplateSelector function and when the views are recycled it seems that it takes the wrong template, there are times for some views that it takes the default one and another the custom one (I only have two templates)

One template puts the text on the left and another on the right (I could use the same template but these templates will change more over the days)

The same thing happens on iOS and Android, I'm on version 5.3.30 and I'm using the N fork

Android

VID_20240408_111529.mp4

iOS

Sin.titulo.1.mov
@farfromrefug
Copy link
Member

@vallemar without a example project it is hard to help you. Plus i am not sure what i should see.

@vallemar
Copy link
Contributor Author

vallemar commented Apr 8, 2024

@farfromrefug I supposed, I'll create a simple project and share it, thanks!

@vallemar
Copy link
Contributor Author

vallemar commented Apr 8, 2024

@farfromrefug It seems that there is something that does not work well with the selection of the template in vue3, in vue2 it works fine.

@rigor789 , could you take a look at it? I'm looking but I don't understand very well how the template selection works, although it seems "simple" I don't understand it at all

vue2 repo: https://github.com/vallemar/cvitemTemplateSelector-vue2
vue3 repo: https://github.com/vallemar/cvitemTemplateSelector-vue3

They are exactly the same, on iOS it seems that the error is seen more often

@farfromrefug farfromrefug added the wontfix This will not be worked on label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants