diff --git a/packages/uikit/src/components/image.ts b/packages/uikit/src/components/image.ts index 1176f57c..92ea1802 100644 --- a/packages/uikit/src/components/image.ts +++ b/packages/uikit/src/components/image.ts @@ -181,6 +181,7 @@ export function createImage( setupClippedListeners(style, properties, isClipped, initializers) return Object.assign(flexState, { + scrollPosition, isClipped, mergedProperties, anyAncestorScrollable: computedAnyAncestorScrollable(flexState.scrollable, parentContext.anyAncestorScrollable), diff --git a/packages/uikit/src/components/root.ts b/packages/uikit/src/components/root.ts index 2cc51962..fe64549d 100644 --- a/packages/uikit/src/components/root.ts +++ b/packages/uikit/src/components/root.ts @@ -215,6 +215,7 @@ export function createRoot( }) return Object.assign(flexState, { + scrollPosition, mergedProperties, anyAncestorScrollable: flexState.scrollable, clippingRect: computedClippingRect(identityMatrix, flexState, pixelSize, undefined), diff --git a/packages/uikit/src/components/svg.ts b/packages/uikit/src/components/svg.ts index 4d5a2053..f1379c63 100644 --- a/packages/uikit/src/components/svg.ts +++ b/packages/uikit/src/components/svg.ts @@ -182,6 +182,7 @@ export function createSvg( setupClippedListeners(style, properties, isClipped, initializers) return Object.assign(flexState, { + scrollPosition, isClipped, mergedProperties, anyAncestorScrollable: computedAnyAncestorScrollable(flexState.scrollable, parentContext.anyAncestorScrollable),