@react-aria/dnd 3.0.0-nightly.3559 → 3.0.0-nightly.3567

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.
package/dist/main.js CHANGED
@@ -3033,6 +3033,7 @@ function $1ca228bc9257ca16$export$ccdee5eaf73cf661(options) {
3033
3033
  }
3034
3034
  };
3035
3035
  let onDragEnter = (e)=>{
3036
+ e.preventDefault();
3036
3037
  e.stopPropagation();
3037
3038
  state.dragOverElements.add(e.target);
3038
3039
  if (state.dragOverElements.size > 1) return;
@@ -3056,6 +3057,7 @@ function $1ca228bc9257ca16$export$ccdee5eaf73cf661(options) {
3056
3057
  if (dropOperation !== 'cancel') fireDropEnter(e);
3057
3058
  };
3058
3059
  let onDragLeave = (e)=>{
3060
+ e.preventDefault();
3059
3061
  e.stopPropagation();
3060
3062
  // We would use e.relatedTarget to detect if the drag is still inside the drop target,
3061
3063
  // but it is always null in WebKit. https://bugs.webkit.org/show_bug.cgi?id=66547