@rpg-engine/long-bow 0.6.63 → 0.6.64

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.
@@ -31119,7 +31119,7 @@ var TabsContainer = function TabsContainer(_ref) {
31119
31119
  type = _ref$type === void 0 ? exports.MultitabType.Brown : _ref$type;
31120
31120
  var _useState = React.useState(tabs[0].id),
31121
31121
  selectedTab = _useState[0],
31122
- setSelectedTab = _useState[1]; //by default the first one
31122
+ setSelectedTab = _useState[1]; // by default the first one
31123
31123
  var onRenderTabs = function onRenderTabs() {
31124
31124
  return tabs.map(function (tab, index) {
31125
31125
  return React__default.createElement(Tab$1, {
@@ -31145,10 +31145,11 @@ var TabsContainer = function TabsContainer(_ref) {
31145
31145
  };
31146
31146
  return React__default.createElement(DraggableContainer, {
31147
31147
  onCloseButton: onCloseButton,
31148
- type: onGetContainerType()
31148
+ type: onGetContainerType(),
31149
+ cancelDrag: ".tabs-container *" // Disable drag on all elements inside .tabs-container
31149
31150
  }, onRenderTabs(), React__default.createElement(BodyContainer, {
31150
31151
  selectedTab: selectedTab,
31151
- className: type
31152
+ className: type + " tabs-container"
31152
31153
  }, children));
31153
31154
  };
31154
31155
  var BodyContainer = /*#__PURE__*/styled__default.div.withConfig({