Hi @Marta Peixoto ,
Thanks for sharing the details.
It sounds like the submenu is being clipped because the body container is directly beneath the header container. In Power Apps, containers are stacked and each has its own layout rules, so a dropdown that extends outside of its parent container will often get hidden.
Here’s what you can try to make your app responsive and ensure your submenu appears correctly:
- Disable 'Scale to Fit' Setting: Go to your app settings and make sure the 'Scale to fit' option is disabled. This setting can cause the layout to misalign when resizing the browser window. You can find it under Settings > Display.
- Use Responsive Containers: Ensure that you're using containers to manage your layout. Containers can help automatically adjust the positioning of their child elements based on screen size changes. You might want to consider a vertical container for your main structure (header, body, footer) to help with responsiveness.
- Adjust the Z-Index: Sometimes, submenus can be hidden behind other elements. You can set the Z-index of your submenu to ensure it appears on top of other containers. This can usually be done in the properties panel when you select the submenu.
- Dynamic Positioning (Optional): Instead of using fixed positions for your containers, use formulas that reference the screen size or window dimensions to dynamically place your submenu. For example, you might want to adjust the 'Y' property of your submenu based on the height of the header.
Here’s a resource that details how to build responsive apps and how to utilize containers effectively: Building responsive canvas apps.
Give these adjustments a try and see if they help.