adobe / adobe/react-spectrum

Feature Request: Implement `[data-focus-within]` on table rows

Open
#9,553 1 comment 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 feature here

Currently we only have `[data-focused]` and `[data-focus-visible]` on a table row. We’d like to know whether any cell or button within a table row has focus.

https://github.com/adobe/react-spectrum/blob/368ec56539512bd2b1a80d7bee227157b8d92472/packages/react-aria-components/src/Table.tsx#L1249-L1250

### 🤔 Expected Behavior?

For example Tailwind `focus-within` variant should work on a table row.

### 😯 Current Behavior

.

### 💁 Possible Solution

_No response_

### 🔦 Context

.

### 💻 Examples

_No response_

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