You can easily add content inside a container, such as a panel, in the native HTML canvas. However, if the Autosize Children property is enabled, the container moves when you try to add content to it. To prevent this movement, use the following steps:
In the Properties panel, under Autosize options, click Accept any changes, if you want the element to resize automatically.
Click Keep size and position, if you want the element to remain fixed in the container.
The content now appears inside the container.