i have used an angular component
It’s 100% of the height of its parent element. The Parent element is not the height of the viewport.
100% is 100% of something, it doesn’t mean “100% of whatever the height of the screen/window happens to be”