bvaughn / react-resizable-panels

https://react-resizable-panels.vercel.app/
MIT License
3.58k stars 124 forks source link

call onFocus/onBlur #370

Closed hipstersmoothie closed 4 days ago

hipstersmoothie commented 4 days ago

Noticed the component accepted the props but didn't use them

vercel[bot] commented 4 days ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-resizable-panels ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 2, 2024 7:55pm
bvaughn commented 4 days ago

Hmm seems like this change broke one of the PanelResizeHandle unit tests. Not sure why yet.

Seems like something about declaring the event property breaks the behavior I was testing...

I don't have much time at the moment to dig into this so for now this is my "solution" 28b8660

bvaughn commented 4 days ago

Version 2.0.20 just deployed with this change.

hipstersmoothie commented 4 days ago

Thanks! (and thanks for fixing the test)

bvaughn commented 4 days ago

Yup!