zbtang / React-Native-ViewPager

ViewPager and Indicator component for react-native on both android and ios.
950 stars 276 forks source link

PagerTabIndicator should cache icons #172

Open martin-braun opened 5 years ago

martin-braun commented 5 years ago

It seems the PagerTabIndicator does not cache the icons, so navigating around lag the icon change from normal to selected state and vice versa. This can be observed even better when using larger images and setting the icon style to width and height 40 so it looks right.

I prefer to have larger sharp icons, but without caching, the UX suffers a lot.