angular-carousel
angular-carousel copied to clipboard
Defect. Disappear all carousel elements.
For some mobile tablets, when we move to last page in portrait mode, which has one element and after that we change orientation to landscape, all elements just disappear (For example: Apple iPad 3, iOS 8.3) That happened, because some index, scope.carouselIndex do not have time to recalculate. I added 'debounce' pattern for 'orientationchange' event ( https://css-tricks.com/the-difference-between-throttling-and-debouncing/ )
For some mobile tablets, when we move to last page in portrait mode, which has one element and after that we change orientation to landscape, all elements just disappear (For example: Apple iPad 3, iOS 8.3) That happened, because some index, scope.carouselIndex do not have time to recalculate. I added 'debounce' pattern for 'orientationchange' event ( https://css-tricks.com/the-difference-between-throttling-and-debouncing/ )