This PR updates the PowerApplet component to ensure that the menu always remains within the viewport. The adjustMenuPosition method has been enhanced to dynamically adjust the menu's position based on the viewport size, handling cases where the menu might overflow the viewport boundaries.
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
Description
This PR updates the PowerApplet component to ensure that the menu always remains within the viewport. The
adjustMenuPosition
method has been enhanced to dynamically adjust the menu's position based on the viewport size, handling cases where the menu might overflow the viewport boundaries.Type of change