0

How do I get rid of this black area that appears when I scroll up in the iPhone Safari without disabling the smooth scroll?

enter image description here

I tried NoBounce js, but it is not working for me.

I also tried this CSS solution (from here):

html {
    height  : 100%;
    overflow: scroll;
    position: relative;
}
body {
    height  : 100%;
    overflow: auto;
    position: relative;
}

But this disabled the smooth scroll function and also it makes the iphone Safari footer sticky as in the below GIF: enter image description here

Raghavendra N
  • 1,359
  • 1
  • 18
  • 36

0 Answers0