ant-design / ant-design/pro-components

proForm提交按钮的连点🐛[BUG]

Open
#8,386 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🐛 bug 描述
proForm自带的submit事件,如果速度够快的话,可以执行两次,虽然已经加了loading但是有时候还是可以的

### 📷 复现步骤

### 🏞 期望结果

### 💻 复现代码

### © 版本信息

- ProComponents 版本: [e.g. 4.0.0]
- umi 版本
- 浏览器环境
- 开发环境 [e.g. mac OS]

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

The report concerns ProForm's submit event and says rapid clicks can trigger it twice, but it provides no reproduction, version, browser, code sample, file, or test. Start by obtaining a minimal reproduction and locating the ProForm submit implementation. Done means rapid clicks result in only one submission while loading.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.