{"action":"closed","issue":{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/1532","labels_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/1532/labels{/name}","comments_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/1532/comments","events_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/1532/events","html_url":"https://github.com/react-bootstrap/react-bootstrap/issues/1532","id":118788066,"number":1532,"title":"Modal lose params on show","user":{"login":"colino","id":4049806,"avatar_url":"https://avatars.githubusercontent.com/u/4049806?v=3","gravatar_id":"","url":"https://api.github.com/users/colino","html_url":"https://github.com/colino","followers_url":"https://api.github.com/users/colino/followers","following_url":"https://api.github.com/users/colino/following{/other_user}","gists_url":"https://api.github.com/users/colino/gists{/gist_id}","starred_url":"https://api.github.com/users/colino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colino/subscriptions","organizations_url":"https://api.github.com/users/colino/orgs","repos_url":"https://api.github.com/users/colino/repos","events_url":"https://api.github.com/users/colino/events{/privacy}","received_events_url":"https://api.github.com/users/colino/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-25T08:52:15Z","updated_at":"2015-11-25T14:09:40Z","closed_at":"2015-11-25T14:09:40Z","body":"Hi,\r\ni'm trying to passing parameters to a component inside a modal. This is my render:\r\n\r\n\r\n```\r\n<Modal\r\n                        show={this.state.showModal}\r\n                        onHide={this.handleShowModal}\r\n                        bsSize=\"large\"\r\n                        backdrop=\"static\"\r\n                        autoFocus=\"true\"\r\n                        >\r\n\r\n                        <Modal.Header closeButton>\r\n                            <Modal.Title>Modal</Modal.Title>\r\n                        </Modal.Header>\r\n\r\n                         <Modal.Body>\r\n\r\n                          <MyComponent param={myparams} />\r\n\r\n                         </Modal.Body>\r\n\r\n                        <Modal.Footer>\r\n                            <Button bsStyle='danger' onClick={this.handleShowModal}>Cancel</Button>\r\n                        </Modal.Footer>\r\n                    </Modal>\r\n```\r\n\r\nand this is my handleShowModal function:\r\n\r\n```\r\nhandleShowModal: function() {\r\n\r\n\r\n\r\n        this.setState({\r\n            showModal: !this.state.showModal\r\n        });\r\n\r\n    },\r\n```\r\n\r\nbut when i click on button to show modal the component inside modal (MyComponent) doesn't receive my params but when i hide modal the component inside modal (MyComponent) receive params. What's wrong?"}}