ion
ion copied to clipboard
fix: adjust positionService validation to check if the component fits in a space when the host is large
Description
Currently, the positionService does not fully consider the size of the component to check the possible positions for it to be in.
In the example below, I asked it to fit in the leftTop position, which would be entirely possible, but the leftTop validation erroneously considers whether the component is in overflow with the lower limit of the screen.