@bigbinary/neeto-folders-frontend 2.0.44 → 2.0.45

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.
@@ -1247,9 +1247,8 @@ var FolderTile = function FolderTile(_ref) {
1247
1247
  disabled: isPreview
1248
1248
  });
1249
1249
  var actionCallback = function actionCallback(callback) {
1250
- return function (event) {
1251
- event.preventDefault();
1252
- callback(folder);
1250
+ return function () {
1251
+ return callback(folder);
1253
1252
  };
1254
1253
  };
1255
1254
  var menuItems = [{
@@ -1312,19 +1311,15 @@ var FolderTile = function FolderTile(_ref) {
1312
1311
  variant: "body3",
1313
1312
  children: metaInfo.join(" . ")
1314
1313
  })]
1315
- }), /*#__PURE__*/jsx(MoreDropdown, {
1316
- menuItems: menuItems,
1317
- dropdownProps: {
1318
- onClick: function onClick(event) {
1319
- return event.preventDefault();
1320
- }
1314
+ }), /*#__PURE__*/jsx("span", {
1315
+ className: "absolute end-2 top-2",
1316
+ onClick: function onClick(event) {
1317
+ event.preventDefault();
1318
+ event.stopPropagation();
1321
1319
  },
1322
- dropdownButtonProps: {
1323
- className: "absolute end-2 top-2",
1324
- onClick: function onClick(event) {
1325
- return event.preventDefault();
1326
- }
1327
- }
1320
+ children: /*#__PURE__*/jsx(MoreDropdown, {
1321
+ menuItems: menuItems
1322
+ })
1328
1323
  })]
1329
1324
  }));
1330
1325
  };