diff --git a/runtime/preparation/init.ts b/runtime/preparation/init.ts index 2693270b..289fee83 100644 --- a/runtime/preparation/init.ts +++ b/runtime/preparation/init.ts @@ -140,7 +140,7 @@ const ComponentsInfo: components[] = [ 'type': 'canvas' }, { - 'methods': ['getXComponentContext', 'createIntersectionObserver', 'addChild', 'getXComponentSurfaceId'], + 'methods': ['getXComponentContext', 'createIntersectionObserver', 'addChild', 'getXComponentSurfaceId', 'setXComponentSurfaceSize'], 'type': 'xcomponent' }, { 'methods': ['show', 'close', 'getBoundingClientRect', 'getInspector', 'scrollBy', 'getScrollOffset', 'scrollTo', 'createIntersectionObserver', 'addChild'], 'type': 'dialog' },