Skip to content

Disable Submit button once clicked #17775

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

Closed
biju-ps opened this issue Nov 23, 2021 · 2 comments
Closed

Disable Submit button once clicked #17775

biju-ps opened this issue Nov 23, 2021 · 2 comments
Labels
issue/duplicate The issue has already been reported.

Comments

@biju-ps
Copy link

biju-ps commented Nov 23, 2021

Gitea Version

All Versions

Operating System

All OS

Browser Version

Chrome

Can you reproduce the bug on the Gitea demo site?

Yes

Description

On a slow network , once the user click the comment or some submit button, The button is still enabled. Some user thinks the page is not posted and re-try by clicking the button again and again. In result multiple issues/comments will be created.

Sample here at try.gitea.io

Sample screenshots attached

How to reproduce

On Chrome, Change network to slow 3g and post a comment to this issue. While the page is loading click on the button 2-3 times. Multiple copy of the same issue will be posted !!

Resolution

Disable all post buttons immediately once clicked

Screenshots

Uploading image.png…

@biju-ps
Copy link
Author

biju-ps commented Nov 23, 2021

image

@wxiaoguang
Copy link
Contributor

@techknowlogick techknowlogick added the issue/duplicate The issue has already been reported. label Nov 23, 2021
@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/duplicate The issue has already been reported.
Projects
None yet
Development

No branches or pull requests

3 participants