@elementor/editor-controls 3.35.0-417 → 3.35.0-419
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.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
- package/src/components/item-selector.tsx +2 -3
package/dist/index.mjs
CHANGED
|
@@ -2961,9 +2961,8 @@ var ItemList = ({
|
|
|
2961
2961
|
}
|
|
2962
2962
|
}) => {
|
|
2963
2963
|
const selectedItemFound = itemListItems.find((item) => item.value === selectedItem);
|
|
2964
|
-
const debouncedVirtualizeChange = useDebounce((
|
|
2965
|
-
|
|
2966
|
-
const item = itemListItems[index];
|
|
2964
|
+
const debouncedVirtualizeChange = useDebounce((visibleItems) => {
|
|
2965
|
+
visibleItems.forEach((item) => {
|
|
2967
2966
|
if (item && item.type === "item") {
|
|
2968
2967
|
onDebounce(item.value);
|
|
2969
2968
|
}
|