@rpg-engine/long-bow 0.3.64 → 0.3.66

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.
@@ -33224,17 +33224,6 @@ var DraggableContainer = function DraggableContainer(_ref) {
33224
33224
  } : _ref$initialPosition;
33225
33225
  var draggableRef = React.useRef(null);
33226
33226
  useOutsideClick(draggableRef, 'item-container');
33227
- React.useEffect(function () {
33228
- var handleKeyDown = function handleKeyDown(event) {
33229
- if (event.key === 'Escape' && onCloseButton) {
33230
- onCloseButton();
33231
- }
33232
- };
33233
- document.addEventListener('keydown', handleKeyDown);
33234
- return function () {
33235
- document.removeEventListener('keydown', handleKeyDown);
33236
- };
33237
- }, [onCloseButton]);
33238
33227
  React.useEffect(function () {
33239
33228
  document.addEventListener('clickOutside', function (event) {
33240
33229
  var e = event;