@deviceinsight/ng-ui-components 7.25.0 → 7.27.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.
package/dist/index.js CHANGED
@@ -512,6 +512,7 @@ var DateInput = forwardRef(({ value, clearable, inline, readOnly, wrapperClassNa
512
512
  const { t } = useTranslation();
513
513
  const [popupOpen, setPopupOpen] = useState(false);
514
514
  const debouncedSetPopupActive = useMemo(() => debounce(setPopupOpen, 30), []);
515
+ useEffect(() => () => debouncedSetPopupActive.cancel(), [debouncedSetPopupActive]);
515
516
  useEffect(() => {
516
517
  const language = locale ?? i18n.language;
517
518
  if (language) {