@next-core/brick-kit 2.208.2 → 2.208.3
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.
package/dist/index.esm.js
CHANGED
|
@@ -13821,9 +13821,12 @@ function ForwardRefSingleBrickAsComponentFactory(React) {
|
|
|
13821
13821
|
updateBrick(brick, element);
|
|
13822
13822
|
var onMount = (_useBrick$lifeCycle4 = useBrick.lifeCycle) === null || _useBrick$lifeCycle4 === void 0 ? void 0 : _useBrick$lifeCycle4.onMount;
|
|
13823
13823
|
if (onMount) {
|
|
13824
|
-
|
|
13825
|
-
|
|
13826
|
-
|
|
13824
|
+
// wait for element of template brick to be assigned
|
|
13825
|
+
queueMicrotask(() => {
|
|
13826
|
+
dispatchLifeCycleEvent(new CustomEvent("mount"), transformEvents(data, {
|
|
13827
|
+
onMount
|
|
13828
|
+
}).onMount, brick);
|
|
13829
|
+
});
|
|
13827
13830
|
}
|
|
13828
13831
|
var onScrollIntoView = (_useBrick$lifeCycle5 = useBrick.lifeCycle) === null || _useBrick$lifeCycle5 === void 0 ? void 0 : _useBrick$lifeCycle5.onScrollIntoView;
|
|
13829
13832
|
if (onScrollIntoView) {
|