codrops / SidebarTransitions

Some inspiration for transition effects for off-canvas navigations.
http://tympanus.net/Development/SidebarTransitions/
1.63k stars 247 forks source link

Odd halting behavior on close click depending on button position #11

Open blakespot opened 9 years ago

blakespot commented 9 years ago

A very elegant nav system, thank you. I attached it to the site I am building and placed the button and containing dev from the demo in my site's header for a quick test -- opens and closes fine. I then moved the button and containing div higher on the page in the

section and the nav opens fine, but clicking to close causes an instant of closure motion, then it bounced back to full open. Maybe 5% distance travel before stopping.

Both locations I describe are within st-content-inner. Do you have any idea what the issue could be? It doesn't look like the js cares for any container above #st-trigger-effects, so I can't see how the location would be causing a problem.

Thanks.

izzyart commented 9 years ago

I have this same problem. Clicking close on my button makes the menu jump like its trying to close but can't. Someone please help.

martylouis commented 8 years ago

I had this same issue when my button or it's container had a higher z-index than st-pusher.