arengibook 1.2.316-main → 1.2.317-main

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -41311,7 +41311,8 @@ var MultiSelectMetaAsync = function MultiSelectMetaAsync(_ref) {
41311
41311
  setLoading(true);
41312
41312
 
41313
41313
  // Items déjà chargés (scroll vers le haut ou re-fire) — reset immédiat
41314
- if (event.last <= loadedOptionsRef.current.length || !hasMoreRef.current) {
41314
+ // On utilise -1 pour déclencher le chargement quand on atteint le dernier item chargé
41315
+ if (event.last < loadedOptionsRef.current.length - 1 || !hasMoreRef.current) {
41315
41316
  setTimeout(function () {
41316
41317
  return setLoading(false);
41317
41318
  }, 0);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "arengibook",
3
3
  "private": false,
4
- "version": "1.2.316-main",
4
+ "version": "1.2.317-main",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "exports": {