Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[added] Collapsible Panel transition hooks #1664

Merged
merged 1 commit into from
Feb 24, 2016

Conversation

martijnvermaat
Copy link
Contributor

This should fix #1540

I found a number of different strategies for passing props to children in the codebase. Here I tried to minimize duplication of proptype definitions and their documentation.

For some reason the docs fail to build with a TypeError: Converting circular structure to JSON and this seems to be due to how I extended the proptypes. I don't yet understand why, any hints are appreciated.

@martijnvermaat
Copy link
Contributor Author

Sorry, I just realized I forgot to push some changes to this branch. Will fix when I have access to that machine later today.

@martijnvermaat
Copy link
Contributor Author

This is now working. The passed props are now just enumerated explicitely.

Please let me know if you would like me to change anything.

@jquense
Copy link
Member

jquense commented Feb 24, 2016

LGTM, need one more @react-bootstrap/collaborators to ok it

@mathieumg
Copy link
Member

I don't write my empty arrows without spacing (()=>) but I don't think it's something we enforce! (Otherwise I imagine we'd use the ESLint rule for it...) LGTM.

taion added a commit that referenced this pull request Feb 24, 2016
[added] Collapsible Panel transition hooks
@taion taion merged commit 0c8e04d into react-bootstrap:master Feb 24, 2016
@martijnvermaat
Copy link
Contributor Author

@mathieumg Me neither, I copied that code from another similar test and didn't notice. It occurs quite a lot in the tests.

Thanks all for having a look and merging!

martijnvermaat added a commit to lumc-nested/nested-editor that referenced this pull request Apr 16, 2016
This fixes resizing of the editor on collapsing the examples panel.

react-bootstrap/react-bootstrap#1664
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

onExited not called when set in Accordion or Panel component
4 participants