Skip to content

Allow resizable panels to be rendered into a different Window (e.g. popup or frame)#555

Merged
bvaughn merged 8 commits into
mainfrom
bvaughn/window.popup
Dec 21, 2025
Merged

Allow resizable panels to be rendered into a different Window (e.g. popup or frame)#555
bvaughn merged 8 commits into
mainfrom
bvaughn/window.popup

Conversation

@bvaughn
Copy link
Copy Markdown
Owner

@bvaughn bvaughn commented Dec 20, 2025

by accessing globals through element.ownerDocument.defaultView

  • e.g. Globals like CSSStyleSheet should be element.ownerDocument.defaultView.CSSStyleSheet()
  • e.g. Document event listeners should be added to element.ownerDocument

Resolves #554

@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 20, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
react-resizable-panels Ready Ready Preview Dec 21, 2025 8:17pm

@bvaughn bvaughn changed the title Improve popup support by using ownerDocument and defaultView Allow resizable panels to be rendered into a different Window (e.g. popup or frame) Dec 21, 2025
@bvaughn bvaughn merged commit a5691a0 into main Dec 21, 2025
7 checks passed
@bvaughn bvaughn deleted the bvaughn/window.popup branch December 21, 2025 20:28
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.

Improve popup support by using ownerDocument and defaultView

1 participant