I have made a Login page with the HTML file as follows
 <div style =" height : 100vh; background-image: url(../../assets/login-bg-1.jpg); margin:0; 
    padding:0; background-repeat: no-repeat; background-size:cover; background-position: center; 
        width: auto;">
    ------
    --
  </div>
Now I want the background image to take up the whole screen but still vertical scroll shows and it's not hidden
I tried overflow-y: hidden too.
The scroll hides only two conditions
 1. When I type height:97vh;
 2. When I type margin:-8px the background image disappears and scroll hides.
Edit working minimal code https://stackblitz.com/edit/web-platform-juvyuk?file=index.html,assets%2Flogin-bg-1.jpg,page2.html
I have got the issue resolved as had to give responsive class to image that i was using.