Skip to content

fix: prevent docs crash by making template elements always append children into .content#9703

Open
LFDanLu wants to merge 2 commits intomainfrom
apply_to_all_templates
Open

fix: prevent docs crash by making template elements always append children into .content#9703
LFDanLu wants to merge 2 commits intomainfrom
apply_to_all_templates

Conversation

@LFDanLu
Copy link
Member

@LFDanLu LFDanLu commented Feb 26, 2026

follow up to #9385

✅ 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

📝 Test Instructions:

Go to S2 Picker docs. Type any description in the first example's description control, it should apply without crashing. Also try going to another page and coming back to the Picker page and adding a description.

🧢 Your Project:

RSP

@rspbot
Copy link

rspbot commented Feb 26, 2026

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.

4 participants