@true-engineering/true-react-common-ui-kit 3.45.3 → 3.45.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@true-engineering/true-react-common-ui-kit",
3
- "version": "3.45.3",
3
+ "version": "3.45.4",
4
4
  "description": "True Engineering React UI Kit with theming support",
5
5
  "author": "True Engineering (https://trueengineering.ru)",
6
6
  "keywords": [
@@ -269,10 +269,14 @@ export function Select<Value>(
269
269
 
270
270
  const handleListClose = useCallback(
271
271
  (event: Event | SyntheticEvent) => {
272
+ if (!isListOpen) {
273
+ return;
274
+ }
275
+
272
276
  closeList();
273
277
  onBlur?.(event);
274
278
  },
275
- [closeList, onBlur],
279
+ [isListOpen, closeList, onBlur],
276
280
  );
277
281
 
278
282
  const handleListOpen = () => {