@mui/x-virtualizer 0.3.1 → 0.3.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.
@@ -208,6 +208,12 @@ function useVirtualization(store, params, api) {
208
208
  updateRenderContext(nextRenderContext);
209
209
  });
210
210
  scrollTimeout.start(1000, triggerUpdateRenderContext);
211
+ } else {
212
+ store.set('virtualization', _extends({}, store.state.virtualization, {
213
+ scrollPosition: {
214
+ current: _extends({}, scrollPosition.current)
215
+ }
216
+ }));
211
217
  }
212
218
  return nextRenderContext;
213
219
  });
package/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-virtualizer v0.3.1
2
+ * @mui/x-virtualizer v0.3.3
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -217,6 +217,12 @@ function useVirtualization(store, params, api) {
217
217
  updateRenderContext(nextRenderContext);
218
218
  });
219
219
  scrollTimeout.start(1000, triggerUpdateRenderContext);
220
+ } else {
221
+ store.set('virtualization', (0, _extends2.default)({}, store.state.virtualization, {
222
+ scrollPosition: {
223
+ current: (0, _extends2.default)({}, scrollPosition.current)
224
+ }
225
+ }));
220
226
  }
221
227
  return nextRenderContext;
222
228
  });
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-virtualizer v0.3.1
2
+ * @mui/x-virtualizer v0.3.3
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-virtualizer",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "author": "MUI Team",
5
5
  "description": "MUI virtualization library",
6
6
  "license": "MIT",
@@ -29,7 +29,7 @@
29
29
  "dependencies": {
30
30
  "@babel/runtime": "^7.28.4",
31
31
  "@mui/utils": "^7.3.5",
32
- "@mui/x-internals": "8.24.0"
32
+ "@mui/x-internals": "8.26.0"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "react": "^17.0.0 || ^18.0.0 || ^19.0.0",