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