Skip to content
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

Menu not showing when using jQuery Fallbacks #60

Closed
philgyford opened this issue May 19, 2015 · 2 comments
Closed

Menu not showing when using jQuery Fallbacks #60

philgyford opened this issue May 19, 2015 · 2 comments

Comments

@philgyford
Copy link

If I make my browser (Chrome) use the jQuery fallbacks, instead of CSS transitions, the menu doesn't appear when the content slides to the right.

I fixed this by changing this line from this:

pushy.animate({left: "0px"}, menuSpeed);

to this:

pushy.animate({left: menuWidth}, menuSpeed);

I'm not sure why that works - I thought 0px would be fine - but it seems to.

@ricky-wong
Copy link

Thanks! Almost opened an issue myself, but found this. Here are fiddles demonstrating the issue.

Before (stock Pushy, but changed if (cssTransforms3d) to if (false)): http://jsfiddle.net/nn0zLke5/
After your patch: http://jsfiddle.net/nn0zLke5/1/

@christophery
Copy link
Owner

Fixed in #80

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants