I'm using ng-bootstrap for the modal of my app.
My modal has multiple pages with the Next and Back buttons.
When the page is long and has to be scrolled, it loads in the center of the modal and not at the top.
It should load always like this:
But it loads like this:
In the first image is the top part of my modal with the title "Modal title" which should be always loaded every time I open the modal or switch to other pages.
But the current behavior is like the second image, which loads the modal in the middle of it and not showing the title "Modal title".
How can I ensure that it always reset the view of my modal to the uppermost part of my modal?
My modal component only has modal.component.ts, modal.component.html and modal.component.css since it is not using a router to load the pages but rather, a function calls and load the pages.

