Help with UI
So , I have a div that has the data and a div that has a loading icon . obv before showing the data div I show the loading div . however , if this loading -div does not have a height of 100vh the data -div has a slight horizontal movement after loading . I set the height of the loading -div to 100vh and ti solves the problem but now the user has to scroll some empty space and that is not good . not sure whether this makes sense without viewing the app . anyone has faced this before ? Thanks

.jpeg/public)