You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know this is a mobile lib, but it works good on chrome (but not at alll in firefox 8?)
When adding the jquery mobile lib after or before including SwipeView then the SwipeView does not properly animate (only tested with the inline demo) It says:
Hi, I think I had the same problem as you describe here.
The problem occurs because this.wrapper.clientWidth in the function refreshSize is not available when JQuery Mobile is loaded and defaults to zero. I guess it has something to do with the viewport it is in.
A work around for me was to get the clientWidth for the body (since my carousel has the same width).
So in refreshSize I set:
this.wrapperWidth = document.getElementById('body').clientWidth; //jquery mobile hack
I know this is a mobile lib, but it works good on chrome (but not at alll in firefox 8?)
When adding the jquery mobile lib after or before including SwipeView then the SwipeView does not properly animate (only tested with the inline demo) It says:
Uncaught TypeError: Cannot read property 'style' of undefined (line 349, SwipeView.__checkPosition)
(BTW On Android SwipeView works with jquery mobile)
this can be prevented via $(window).load(function() { /* swipview init code */ }) or what do you suggest?
The text was updated successfully, but these errors were encountered: