You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(Collapse): Add onOpened and onClosed events (#277) (#301)
* feat(Collapse): Add onOpened and onClosed events
Allow passing in onOpened and onClosed props as functions that are
triggered after the Collapse component has finished opening or closing.
Useful for performing an action that relies on the new height of the
page after a Collapse component has opened or closed (such as
scrolling).
* Fix typo in test
* fix(Collapse): default onOpened and onClosed to noop
Remove the need for the onOpened and onClosed helper functions and call
the props directly.
* Add info about onOpened and onClosed to Collapse example
0 commit comments