adobe / adobe/react-spectrum

Exception when dragging items in RAC ListBox with sections

Open
#7,025 2 comments 1 reaction 0 assignees View on GitHub
enhancement needs investigation
Dominant language
TypeScript
Stars
15.9k
Forks
1.6k
Avg merge
3d 9m
Merged PRs (30d)
59

Description

### Provide a general summary of the issue here

The drag and drop between two flat ListBox worked well.

However, as soon as I add Sections to the listbox, there is an `undefined` somewhere... and that leads to many exceptions in the console.

In my app (not the sandbox), there is no visible effect beside the exceptions in the console.

### 🤔 Expected Behavior?

There should be no exception

### 😯 Current Behavior

There are exceptions (seems related to mouse move)

### 💁 Possible Solution

_No response_

### 🔦 Context

_No response_

### 🖥️ Steps to Reproduce

https://codesandbox.io/p/sandbox/sweet-shamir-q3r72w

Drag an item from the left to the right => observe

### Version

react-aria-components@1.3.3

### What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

### If other, please specify.

_No response_

### What operating system are you using?

macOS 14.6.1

### 🧢 Your Company/Team

_No response_

### 🕷 Tracking Issue

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.