Relative Content

Tag Archive for angulartypescriptionic-framework

Ionic modal breakpoints – Based on viewport or content height?

I’ve been working with Ionic’s modal component in a angular project and have witnessed some unexpected behavior regarding the breakpoints. According to the official documentation, modal breakpoints are supposed to be relative to the viewport height. But for some reason, in my project, it seems that the breakpoints are being applied relative to the content height inside the modal and not the viewport height.