angular-carousel icon indicating copy to clipboard operation
angular-carousel copied to clipboard

Defect. Disappear all carousel elements.

Open developer510 opened this issue 8 years ago • 1 comments

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/ )

developer510 avatar Apr 01 '16 12:04 developer510

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/ )

developer510 avatar Apr 01 '16 12:04 developer510