Skip to content

chore: expose setInteractionModality - #10491

Merged
yihuiliao merged 3 commits into
mainfrom
set-interaction-modality-expose
Aug 24, 2026
Merged

chore: expose setInteractionModality#10491
yihuiliao merged 3 commits into
mainfrom
set-interaction-modality-expose

Conversation

@snowystinger

Copy link
Copy Markdown
Member

Closes
Replaces the work in #10426 to expose the same tools we use internally.

✅ Pull Request Checklist:

  • Included link to corresponding React Spectrum GitHub Issue.
  • Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • Filled out test instructions.
  • Updated documentation (if it already exists for this component).
  • Looked at the Accessibility Practices for this feature - Aria Practices
  • I understand every change in this PR and can explain why it's there.
  • If AI-assisted, I followed our AI contribution guidance and pointed my assistant at CLAUDE.md.

📝 Test Instructions:

🧢 Your Project:

@rspbot

rspbot commented Aug 20, 2026

Copy link
Copy Markdown

yihuiliao
yihuiliao previously approved these changes Aug 20, 2026
Comment thread packages/dev/s2-docs/pages/react-aria/useFocusVisible.mdx Outdated
Co-authored-by: Daniel Lu <dl1644@gmail.com>
@rspbot

rspbot commented Aug 20, 2026

Copy link
Copy Markdown

@rspbot

rspbot commented Aug 20, 2026

Copy link
Copy Markdown
## API Changes

react-aria-components

/react-aria-components:setInteractionModality

+setInteractionModality {
+  modality: Modality
+  returnVal: undefined
+}

/react-aria-components:Modality

+Modality {
+  M: undefined
+}

@rspbot

rspbot commented Aug 20, 2026

Copy link
Copy Markdown

Agent Skills Changes

Added (450)

… output truncated to fit GitHub comment size limit.

@yihuiliao
yihuiliao added this pull request to the merge queue Aug 24, 2026
Merged via the queue into main with commit 8b00d0e Aug 24, 2026
31 checks passed
@yihuiliao
yihuiliao deleted the set-interaction-modality-expose branch August 24, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants