Is there a way to add a mask?

Hello there,
I ran into an issue where an element when goes outside the container overlaps with other elements.


Is there a way to add a mask to a container or set a z-index so that the toolbar on the left would be on the top?
The way the layout is done I can’t change the order in which these elements are drawn in .uxml file.

Yes, you will need to set the overflow to hidden on your content container. It should do what you have in mind : restrict the content to the content container. The scrollbar is outside the content container, So it won’t be affected.

Don’t hesitate to share more detail if you want more specific answer :slight_smile: