Popovers need to grow upwards when anchor element is on bottom of the page

E.g. You have a FAB that’s anchored to the bottom right. if you add a popover the popover will open and the list will be below page. Is the css class option the only way to override this?