@builder.io/sdk-react-native 0.5.6-0 → 0.5.6-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -296,7 +296,7 @@ function EnableEditor(props) {
|
|
|
296
296
|
};
|
|
297
297
|
}, []);
|
|
298
298
|
return (React.createElement(builder_context_js_1.default.Provider, { value: props.builderContextSignal }, props.builderContextSignal.content ? (React.createElement(React.Fragment, null,
|
|
299
|
-
React.createElement(react_native_1.
|
|
299
|
+
React.createElement(react_native_1.ScrollView, { key: forceReRenderCount, ref: elementRef, onClick: (event) => onClick(event), "builder-content-id": (_e = props.builderContextSignal.content) === null || _e === void 0 ? void 0 : _e.id, "builder-model": props.model, ...{
|
|
300
300
|
// currently, we can't set the actual ID here. // we don't need it right now, we just need to identify content divs for testing.
|
|
301
301
|
dataSet: {
|
|
302
302
|
"builder-content-id": "",
|
package/package.json
CHANGED
|
@@ -320,7 +320,7 @@ function EnableEditor(props) {
|
|
|
320
320
|
<builderContext.Provider value={props.builderContextSignal}>
|
|
321
321
|
{props.builderContextSignal.content ? (
|
|
322
322
|
<>
|
|
323
|
-
<
|
|
323
|
+
<ScrollView
|
|
324
324
|
key={forceReRenderCount}
|
|
325
325
|
ref={elementRef}
|
|
326
326
|
onClick={(event) => onClick(event)}
|
|
@@ -340,7 +340,7 @@ function EnableEditor(props) {
|
|
|
340
340
|
})}
|
|
341
341
|
>
|
|
342
342
|
{props.children}
|
|
343
|
-
</
|
|
343
|
+
</ScrollView>
|
|
344
344
|
</>
|
|
345
345
|
) : null}
|
|
346
346
|
</builderContext.Provider>
|