jakiestfu / Snap.js

A Library for creating beautiful mobile shelfs in Javascript (Facebook and Path style side menus)
http://jakiestfu.github.io/Snap.js/
5.99k stars 663 forks source link

Drawer content visible when collapsed #141

Closed WonderPanda closed 10 years ago

WonderPanda commented 10 years ago

Hi, just playing around with this and looks really promising so far however I'm running into an issue where if I have elements inside snap content that are transparent or if the content inside the drawer is longer than whats inside snap content items from the drawer are still visible. Is it possible that when the drawer is collapsed that display:none or something similar could be applied to ensure that nothing inside the drawer can be seen?

WonderPanda commented 10 years ago

Was my silly mistake. Adding a background color to the snap-content area fixed the issue.