Comments (2)
onCollapse
doesn't send the state. I'm handling it by storing the state outside the component:
onCollapse={() => setIsCollapsed(true)}
onExpand={() => setIsCollapsed(false)}
from react-resizable-panels.
It works thanks. I referred to packages/react-resizable-panels/README.md but I don't think it's updated.
I think react-resizable-panels-website is updated. I'll refer to this.
from react-resizable-panels.
Related Issues (20)
- Window resize collapses panels when using pixel sizing (prev issue continued) HOT 5
- When total sum of persisted panel sizes differs from 100, no resize is possible HOT 1
- Error while resize window using conditional panel with minSizePixels prop HOT 12
- Panel doesn't respect minSizePixels when resizing window HOT 2
- Reversed Drag Direction🔄 HOT 4
- Assertion failed error HOT 12
- Missing support for persistence of collapsed panels HOT 3
- Problem with components rerendering between panels HOT 8
- collapsedSize with variable breaks onCollapse function HOT 2
- isCollapsed function doesn't handle undefined collapsedSize prop HOT 1
- Assertion Failed HOT 7
- Layout shift with latest version while pre-rendered on the server side HOT 16
- Missing changelogs for 1.0.0+? HOT 1
- make resize handle accept ref HOT 4
- onCollapse type issue HOT 3
- Dosnt work in NextJs HOT 8
- No Tooltip animation using manual installation method HOT 2
- Feature Request: Access underlying DOM elements via Imperative API HOT 3
- Bug (ish): `tagName: ElementType` is too wide HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-resizable-panels.