Describe the bug
When MenuComponent is placed on the bottom right side of a viewport it may render a popup shifted incorrectly regarding the origin button leading to a situation where the popup is not fully visible in the viewport of the browser.
To Reproduce
Open devtool and move menuComponent to the bottom right corner as shown on the screenshot.
For other corners, the issue does not occur
Expected behaviour
The menu component popup is rendered within the viewport even if the origin button is placed at the bottom right corner of the viewport.
Describe the bug When
MenuComponent
is placed on the bottom right side of a viewport it may render a popup shifted incorrectly regarding the origin button leading to a situation where the popup is not fully visible in the viewport of the browser. To ReproduceFor other corners, the issue does not occur
Expected behaviour The menu component popup is rendered within the viewport even if the origin button is placed at the bottom right corner of the viewport.