adobe / adobe/react-spectrum

ColumnResizer won't let go of focus with empty rows

Open
#6,549 1 comment 0 reactions 0 assignees View on GitHub
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

Once the column resizer gains focus it will not let go of that focus and you can't tab or use your arrow keys to escape. This only happens when there are no rows passed to the table.

### 🤔 Expected Behavior?

It should let go of focus.

### 😯 Current Behavior

It steals focus.

### 💁 Possible Solution

_No response_

### 🔦 Context

_No response_

### 🖥️ Steps to Reproduce

https://stackblitz.com/edit/vitejs-vite-c1a5kl?file=tailwind.config.js,src%2Findex.css,src%2FApp.tsx&terminal=dev

### Version

latest stable react-aria-components

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

Chrome

### If other, please specify.

_No response_

### What operating system are you using?

Mac

### 🧢 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.