@megha-ui/react 1.2.278 → 1.2.280
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.
|
@@ -848,6 +848,7 @@ const Grid = ({ columns, wrapperClass, updateGridColumns, data, height, sortable
|
|
|
848
848
|
};
|
|
849
849
|
}, [sortedData, paginate, paginatedData]);
|
|
850
850
|
useEffect(() => {
|
|
851
|
+
handleChangePage(1);
|
|
851
852
|
setTotalPages(getTotalPages(sortedData.length, rowsPerPage));
|
|
852
853
|
}, [data, sortQueries, rowsPerPage, sortedData.length]);
|
|
853
854
|
const isScrollAlmostAtEnd = (element, threshold = 100) => {
|
package/package.json
CHANGED