allaw-ui 2.0.3 → 2.0.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.
@@ -99,8 +99,10 @@ var Stepper = function (_a) {
99
99
  }
100
100
  }, [onClose]);
101
101
  var handleMouseDown = useCallback(function (e) {
102
+ var selectList = document.querySelector('[class*="selectList"]');
102
103
  if (stepperContainerRef.current &&
103
- !stepperContainerRef.current.contains(e.target)) {
104
+ !stepperContainerRef.current.contains(e.target) &&
105
+ !(selectList === null || selectList === void 0 ? void 0 : selectList.contains(e.target))) {
104
106
  handleClose();
105
107
  }
106
108
  }, [handleClose]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allaw-ui",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "Composants UI pour l'application Allaw",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",