adobe / adobe/react-spectrum

If `selectionMode="none"` is set on a Tree, space should trigger onAction (currently only enter will trigger onAction

Open
#7,372 0 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

If `selectionMode="none"` is set on a Tree, space should trigger onAction (currently only enter will trigger onAction

### 🤔 Expected Behavior?

Expect `space` to open

### 😯 Current Behavior

Currently `space` does not expand a closed treeitem

### 💁 Possible Solution

_No response_

### 🔦 Context

_No response_

### 🖥️ Steps to Reproduce

Set selectionMode none, "space" does not trigger onAction

### Version

3.35.1

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

Chrome

### If other, please specify.

_No response_

### What operating system are you using?

mac os

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