We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Toast
componentDidMount
2.0.0
"react": "^16.0.0", "react-dom": "^16.0.0", "antd-mobile": "^2.0.0",
https://codepen.io/TroyZ/pen/boJyJg?&editors=001
Just use Toast api in the componentDidMount function
Display the toast correctly.
Couldn't display the toast in componentDidMount, only displayed when click a button, etc.
The text was updated successfully, but these errors were encountered:
ActivityIndicator
Tabs
react-component/notification#21
Sorry, something went wrong.
4f7fb5a
Can anybody please tell me how to fix this issue , I am still facing problem with this issue
@sachin9891 Please check your antd-mobile version, this problem has been fixed.
If you still have problems, please file a new issue with a reproducible demo.
fix: toast in componentDidMount, close ant-design#1980
25303ec
silentcloud
No branches or pull requests
Version
2.0.0
Environment
"react": "^16.0.0", "react-dom": "^16.0.0", "antd-mobile": "^2.0.0",
Reproduction link
https://codepen.io/TroyZ/pen/boJyJg?&editors=001
Steps to reproduce
Just use
Toast
api in thecomponentDidMount
functionWhat is expected?
Display the toast correctly.
What is actually happening?
Couldn't display the toast in
componentDidMount
, only displayed when click a button, etc.The text was updated successfully, but these errors were encountered: