@rpg-engine/long-bow 0.1.72 → 0.1.75

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.
@@ -354,9 +354,7 @@ var DraggableContainer = function DraggableContainer(_ref) {
354
354
  document.removeEventListener('clickOutside', function (_e) {});
355
355
  };
356
356
  }, []);
357
- return React__default.createElement("div", {
358
- ref: draggableRef
359
- }, React__default.createElement(Draggable, {
357
+ return React__default.createElement(Draggable, {
360
358
  cancel: ".container-close," + cancelDrag,
361
359
  onDrag: function onDrag(_e, data) {
362
360
  if (onPositionChange) {
@@ -367,6 +365,7 @@ var DraggableContainer = function DraggableContainer(_ref) {
367
365
  }
368
366
  }
369
367
  }, React__default.createElement(Container$2, {
368
+ ref: draggableRef,
370
369
  width: width,
371
370
  height: height || 'auto',
372
371
  className: "rpgui-container " + type + " " + className
@@ -379,7 +378,7 @@ var DraggableContainer = function DraggableContainer(_ref) {
379
378
  className: "container-close",
380
379
  onClick: onCloseButton,
381
380
  onTouchStart: onCloseButton
382
- }, "X"), children)));
381
+ }, "X"), children));
383
382
  };
384
383
  var Container$2 = /*#__PURE__*/styled.div.withConfig({
385
384
  displayName: "DraggableContainer__Container",