Ionic modal scrolls too far down


My Ionic Modal scrolls too far down and I don’t know why. I’ve tried setting min-height to 0 and all sorts of other values, I’ve tried setting max-height to a measly 200px (which only makes the window 200px and doesn’t actually cut off the blank space), I’ve tried disabling scrolling everywhere but the modal still scrolls. If it helps I’m trying to use ionic on top of sails.js. Please help this issue is driving me up the wall, I’ve tried to solve it for two weeks but I still don’t have any solution in sight and have exhausted all my options