@app-studio/web 0.3.49 → 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.
package/dist/web.esm.js CHANGED
@@ -2956,7 +2956,7 @@ var DropDownItem = function DropDownItem(_ref) {
2956
2956
  isHovered = _useState[0],
2957
2957
  setIsHovered = _useState[1];
2958
2958
  var handleOptionClick = function handleOptionClick(event) {
2959
- event.stopPropagation();
2959
+ if (event && event.stopPropagation) event.stopPropagation();
2960
2960
  callback(option);
2961
2961
  };
2962
2962
  var handleHover = function handleHover() {
@@ -4537,7 +4537,7 @@ var ModalContainer = function ModalContainer(_ref2) {
4537
4537
  shadowRadius: 8
4538
4538
  };
4539
4539
  var handleClick = function handleClick(event) {
4540
- return event.stopPropagation();
4540
+ if (event && event.stopPropagation) event.stopPropagation();
4541
4541
  };
4542
4542
  return React.createElement(Vertical, Object.assign({
4543
4543
  cursor: "default",