@astral/ui 4.116.1 → 4.117.0

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.
@@ -117,7 +117,7 @@ export const useLogic = ({ keyId, columns, rows, variant, tree, subrows, selecte
117
117
  onSelectRow(selectedRowsRef.current.filter((selectedRow) => selectedRow[keyId] !== row[keyId]));
118
118
  }, []);
119
119
  const handleScrollToTop = () => {
120
- virtuoso.current?.scrollIntoView({ index: 0, behavior: 'smooth' });
120
+ virtuoso.current?.scrollIntoView({ index: 0 });
121
121
  };
122
122
  const recalculateVerticalScroll = (listHeight) => {
123
123
  const container = document.getElementById(VIRTUOSO_CONTAINER_ID);
@@ -120,7 +120,7 @@ const useLogic = ({ keyId, columns, rows, variant, tree, subrows, selectedRows =
120
120
  onSelectRow(selectedRowsRef.current.filter((selectedRow) => selectedRow[keyId] !== row[keyId]));
121
121
  }, []);
122
122
  const handleScrollToTop = () => {
123
- virtuoso.current?.scrollIntoView({ index: 0, behavior: 'smooth' });
123
+ virtuoso.current?.scrollIntoView({ index: 0 });
124
124
  };
125
125
  const recalculateVerticalScroll = (listHeight) => {
126
126
  const container = document.getElementById(constants_2.VIRTUOSO_CONTAINER_ID);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astral/ui",
3
- "version": "4.116.1",
3
+ "version": "4.117.0",
4
4
  "browser": "./index.js",
5
5
  "main": "./node/index.js",
6
6
  "dependencies": {