@next-core/brick-kit 2.178.16 → 2.178.17
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
|
@@ -11935,11 +11935,15 @@ class Router {
|
|
|
11935
11935
|
if (route && route.type !== "routes" || failed) {
|
|
11936
11936
|
var _this3$kernel$bootstr3, _this3$kernel$bootstr4, _getAuth$license;
|
|
11937
11937
|
yield pendingTask;
|
|
11938
|
+
window.DISABLE_REACT_FLUSH_SYNC = false;
|
|
11938
11939
|
main.length > 0 && mountTree(main, mountPoints.main);
|
|
11939
11940
|
portal.length > 0 && mountTree(portal, mountPoints.portal);
|
|
11940
11941
|
afterMountTree(mountPoints.main);
|
|
11941
11942
|
afterMountTree(mountPoints.portal);
|
|
11942
11943
|
afterMountTree(mountPoints.bg);
|
|
11944
|
+
setTimeout(() => {
|
|
11945
|
+
window.DISABLE_REACT_FLUSH_SYNC = true;
|
|
11946
|
+
});
|
|
11943
11947
|
|
|
11944
11948
|
// Scroll to top after each rendering.
|
|
11945
11949
|
// See https://github.com/ReactTraining/react-router/blob/master/packages/react-router-dom/docs/guides/scroll-restoration.md
|