Skip to content

Support overflowing content like drop-shadows#678

Merged
bvaughn merged 3 commits into
mainfrom
discussions/674
Mar 4, 2026
Merged

Support overflowing content like drop-shadows#678
bvaughn merged 3 commits into
mainfrom
discussions/674

Conversation

@bvaughn
Copy link
Copy Markdown
Owner

@bvaughn bvaughn commented Mar 1, 2026

Changing the default overflow styles set by this library as shown below is enough to allow e.g. drop-shadows and other overflowing styles.

BeforeAfter
<!-- ⚛️ Group -->
<div data-group>
 
  <!-- ⚛️ Panel -->
  <div
    data-panel
    style="overflow: hidden"
  >
    <div>
 
      <!-- The stuff you render -->
    </div>
  </div>
</div>
<!-- ⚛️ Group -->
<div data-group>
 
  <!-- ⚛️ Panel -->
  <div
    data-panel
    style="overflow: visible"
  >
    <div style="overflow: auto">
 
      <!-- The stuff you render -->
    </div>
  </div>
</div>

Is this a change that users of this library would like? Will it somehow break or affect existing panel styles in an unexpected way?

Try this out for yourself:

npm install react-resizable-panels@alpha

I'd welcome feedback on the API and the documentation (here).

In support of discussion #674 and issues #628 and #532

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 1, 2026

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

Project Deployment Actions Updated (UTC)
react-resizable-panels Ready Ready Preview Mar 4, 2026 0:22am

@bvaughn bvaughn merged commit fdf9d0b into main Mar 4, 2026
7 checks passed
@bvaughn bvaughn deleted the discussions/674 branch March 4, 2026 00:22
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.

1 participant