Skip to content
This repository was archived by the owner on May 10, 2018. It is now read-only.

Conversation

developer510
Copy link

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/ )
@developer510
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant