adobe / adobe/react-spectrum

GridList: `display: contents` causes unexpected keyboard navigation behavior

Open
#9,532 8 comments 0 reactions 0 assignees View on GitHub
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

https://stackblitz.com/edit/1mcmokw7?file=src%2FExample.tsx

https://github.com/user-attachments/assets/41ed75b5-673a-4592-8c6d-b8f49bf5168c

↑ Press Shift+Tab

### 🤔 Expected Behavior?

The Shift+Tab key should only focus one of the delete buttons.

### 😯 Current Behavior

The Shift+Tab key can focus each delete button.

### 💁 Possible Solution

_No response_

### 🔦 Context

_No response_

### 🖥️ Steps to Reproduce

https://stackblitz.com/edit/1mcmokw7?file=src%2FExample.tsx

### Version

1.14.0

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

Chrome

### If other, please specify.

_No response_

### What operating system are you using?

macOS

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