@mindinventory/mi-react-icon-picker
Advanced tools
Comparing version 1.0.27 to 1.0.28
@@ -159,2 +159,13 @@ "use strict"; | ||
}, []); | ||
(0, _react.useEffect)(function () { | ||
// Update popup position when scrolling | ||
if (!isPopupVisible) return; | ||
updatePopupPosition(); | ||
window.addEventListener("wheel", handleClosePopup, { | ||
passive: true | ||
}); | ||
return function () { | ||
window.removeEventListener("wheel", handleClosePopup); | ||
}; | ||
}, [isPopupVisible]); | ||
@@ -161,0 +172,0 @@ // Filter icons based on search query |
{ | ||
"name": "@mindinventory/mi-react-icon-picker", | ||
"version": "1.0.27", | ||
"version": "1.0.28", | ||
"main": "lib/IconPicker.js", | ||
@@ -5,0 +5,0 @@ "files": [ |
1624400
2517