@app-studio/web 0.3.48 → 0.3.50
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.
|
@@ -2963,7 +2963,7 @@ var DropDownItem = function DropDownItem(_ref) {
|
|
|
2963
2963
|
isHovered = _useState[0],
|
|
2964
2964
|
setIsHovered = _useState[1];
|
|
2965
2965
|
var handleOptionClick = function handleOptionClick(event) {
|
|
2966
|
-
event.stopPropagation();
|
|
2966
|
+
if (event && event.stopPropagation) event.stopPropagation();
|
|
2967
2967
|
callback(option);
|
|
2968
2968
|
};
|
|
2969
2969
|
var handleHover = function handleHover() {
|
|
@@ -4544,7 +4544,7 @@ var ModalContainer = function ModalContainer(_ref2) {
|
|
|
4544
4544
|
shadowRadius: 8
|
|
4545
4545
|
};
|
|
4546
4546
|
var handleClick = function handleClick(event) {
|
|
4547
|
-
|
|
4547
|
+
if (event && event.stopPropagation) event.stopPropagation();
|
|
4548
4548
|
};
|
|
4549
4549
|
return React__default.createElement(Vertical, Object.assign({
|
|
4550
4550
|
cursor: "default",
|