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

When loading is true, the modal button should be disabled #5365

Closed
xjdata opened this issue Mar 17, 2017 · 3 comments
Closed

When loading is true, the modal button should be disabled #5365

xjdata opened this issue Mar 17, 2017 · 3 comments
Assignees

Comments

@xjdata
Copy link

xjdata commented Mar 17, 2017

Environment(required)

  • antd version:2.8.1
  • OS and its version: ubuntu 16.04
  • Browser and its version: chrome 57

What did you do? Please provide steps to re-produce your problem.

Quick double click modal ok button.

What do you expected?

When loading is true, the button should be disabled

Re-producible online demo

http://codepen.io/xjdata/pen/XMzEKy

@afc163
Copy link
Member

afc163 commented Mar 18, 2017

#4925

@afc163
Copy link
Member

afc163 commented Mar 18, 2017

Maybe we should support loading={{ delay: xxx }} and default value of delay is 0. 😓

@RaoHai

@lock
Copy link

lock bot commented May 1, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants