I'm suggesting remove the container div and style this as, eg:

    :host {
      overflow: auto;
      display: block;
    }

width/height 100% will frequently require being overridden by embedders, for little gain, I can't think of any HTML elements that actually behave that way.