Does collapseDirection work?
JeremyGrieshop opened this issue · 4 comments
JeremyGrieshop commented
I can't seem to get it to work with the collapseOptions. Codesandbox:
https://codesandbox.io/s/react-collapse-pane-down-hrov2?file=/src/App.js
godsamit commented
I think the prop name is changed to "collapse".
JeremyGrieshop commented
godsamit commented
No... read the source code. the prop name has been changed.
Also just tested on your codesandbox and it works
JeremyGrieshop commented
Ah, thank you, @godsamit. The documentation example shows otherwise (using collapseOptions
object instead).