Skip to content

fix(ui-tree-browser): render nested TreeCollection without the style wrapper - #2839

Open
aaronshaf wants to merge 1 commit into
masterfrom
fix/ui-tree-browser-nested-collection
Open

aaronshaf wants to merge 1 commit into
masterfrom
fix/ui-tree-browser-nested-collection

Conversation

@aaronshaf

@aaronshaf aaronshaf commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Summary

Test Plan

  • Expand a folder inside a folder in a TreeBrowser and check the console stays free of styles warnings.

@github-actions

github-actions Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.2

QR code for preview link

🚀 View preview at
https://instructure.design/pr-preview/pr-2839/

Built to branch gh-pages at 2026-12-01 17:58 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

…wrapper

Since #2776 the name TreeCollection inside the class refers to the wrapped component, not the
undecorated class. A nested folder received the parent's styles and makeStyles props and logged a
"Manually passing styles" warning for every expanded folder.
@aaronshaf
aaronshaf force-pushed the fix/ui-tree-browser-nested-collection branch from 0b9cf3e to 30b7ed0 Compare December 1, 2026 17:54
@aaronshaf aaronshaf self-assigned this Dec 1, 2026
@matyasf
matyasf self-requested a review December 2, 2026 10:23

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants