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

can't close modal in React@16 #2363

Closed
belief-cyf opened this issue Mar 2, 2018 · 8 comments
Closed

can't close modal in React@16 #2363

belief-cyf opened this issue Mar 2, 2018 · 8 comments
Assignees

Comments

@belief-cyf
Copy link

Version

2.1.6

Environment

window 10 chrome

Reproduction link

https://mobile.ant.design/components/modal-cn/

Steps to reproduce

image
image
image
click cancel
image
image
mask is delete,bug modal is not delete.
react And ract-dom version is 16.2.0

What is expected?

click cancel close modal

What is actually happening?

can't close modal

@belief-cyf
Copy link
Author

image

@belief-cyf
Copy link
Author

use Modal.alert(title, message, actions?, platform?).close() is same

@belief-cyf
Copy link
Author

I experimented with react 15.X is working.

@belief-cyf
Copy link
Author

node V8.9.3 npm V5.5.1

@belief-cyf
Copy link
Author

111

@likezero
Copy link
Contributor

likezero commented May 8, 2018

can you upgrade antd-mobile to 2.1.8, and add fastclick to you project ?

@likezero likezero self-assigned this May 8, 2018
@belief-cyf
Copy link
Author

It's my project scaffolding problem. i will close this issues

@huang-xiao-jian
Copy link

@belief-cyf what's the problem? I have the same issue within create-react-app project?

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

No branches or pull requests

3 participants