-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
width set to 0 for div 'swipe-wrap' and all the elements div in it #72
Comments
Could you please provide a jsbin or something live, it is difficult to understand your problem. What do you mean by an "auto-hiding menu"? |
Thanks for the prompt reply. herewith the jsbin link to the mobile version which does not work. This is the PC version of the menu bar with happy customer slider using Swipes In the Mobile version, visitor has to click the link to see the menu bar Menu bar in the mobile version does not show the slides, but only the title In mobile version, the menu bar is hidden by default and only be seen when the menu button is clicked. |
I think that Swipe sets the width according to actual space taken up by the slides. On the mobile version, the slides are invisible, and thus take up no actual space (so there's where the One way to deal with this is to trigger the Swipe showMenu(); // show the menu, the way you implement it
mySwipe.setup(); // now that the menu is shown, setup the slides With jQuery, it could look like this: $('#menu').show(function() { // callback function
mySwipe.setup();
}); |
Thanks for the help. I'll try and revert. |
having same issue, did you find any solution? |
calling mySwipe.setup({options}) with initial options before showing swipe again worked for me |
Hi,
I am using swipe in the auto-hiding menu, in the mobile version, the menu will only slide out when the menu button is clicked.
The swipe module works fine in the pc version, but does not work in the iPad or mobile version.
There are 2 issues I can currently observe
<div>
was changing.Here is the html in pc version:
And this is the html in mobile version:
Thanks for any help and tip in advance!
The text was updated successfully, but these errors were encountered: