react-component/collapse

Panel Question

Coolranch opened this issue · 1 comments

Is there a way to prevent the panel from opening/closing when I have something like a button in the header? I want to put some action buttons in the header, but I want the panel to stay in its current state when clicking one of the buttons.

I figured it out, if I use event.stopPropagation it appears to give me the behavior I was looking for.