nckprsn / scrollme

A jQuery plugin for adding simple scrolling effects to web pages.
1.47k stars 318 forks source link

plugin broken #24

Open usb248 opened 9 years ago

usb248 commented 9 years ago

Scrollme is totally broken when i set html,body{height: 100%;} .... any solution ?

sheriffderek commented 8 years ago

When you set your body height to 100%, the "100%" it's talking about, is the parent - because html, and body don't inherently know about their height... this gets weird. You may need to also set html to 100% - and/or the child of body to min-height: 100%... "plugin broken" is a bad title for this - and it's likely the structure of your website/project - and because of how that works - the plugin may not be able to tell the height of the scrollme classed elements. It's highly doubtful that scrollme is broken. I suggest you create a CodPen as an example / otherwise this issue issn't something that can be solved with your description alone.