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

Updating Message in Toast if message prop is updated and updating toast position on screen orientation change #20

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
fixed a bug
chitrangsinghvi committed Apr 2, 2018
commit 827b8874bf847767b859a6246af2c6245523b37b
2 changes: 1 addition & 1 deletion lib/ToastContainer.js
Original file line number Diff line number Diff line change
@@ -133,7 +133,7 @@ class ToastContainer extends Component {
};

componentWillUnmount = () => {
this._hide();
this._root && this._hide();
};

handleOnLayout(event){