Ios not applying margin bottom

When scrolling down to the bottom of the “page”, theres supposed to be an margin to keep the sidemenu and back button from overlaying the content of the page. This works fine in the browser preview and on an actual android device.
However, on Ios this margin is not applied. I even created a div wrapper around the content with an margin of 85px, but on ios its seems to get cut of.

This is how it looks on android + browser:

This is how it looks on an ios device:

Its seems to be a problem with the scroll-handler? Is there any way to fix this?