ocombe / ocModal

An angularJS modal directive & service
66 stars 16 forks source link

Modal position off the top of the screen #12

Open colinfindlay-nz opened 8 years ago

colinfindlay-nz commented 8 years ago

Hi,

I'm seeing 2 issues when using ocModal.full.css and the content of the modal > the visible height of the screen. a) The backdrop is smaller than the page (So you can scroll down and see the modal, but run out of backdrop behind it) b) The modal itself is positioned vertically off the top of the screen by quite a bit, this might be what causes a) - since the offset seems about the same amount

Updated plunkr to demo the issue

Be really great if you could suggest a fix - as I can't seem to work out what's going on.