nativescript-community/ui-pager

[ios] custom transition error when change selectedIndex manually

vallemar opened this issue · 0 comments

I have noticed in ios a bug when using custom transformers, if you select from outside an item number when you scroll it doesn't work well, you get stuck in the middle of the item. I think it's this line: https://github.com/nativescript-community/ui-pager/blob/master/src/ui-pager/index.ios.ts#L383-L386 I don't know if we should take into account the transformation of the view
this is a repo for example: https://github.com/vallemar/nativescript-burger-inspiration if tap on the thumbnails of the hamburgers the scroll gets stuck.

Grabacion_de_pantalla_2023-01-29_a_las_21.59.16.1.mov