When opening the login interface for the first time, the login box is very narrow and then returns to normal. #14260

Closed
opened 2025-11-02 11:07:50 -06:00 by GiteaMirror · 6 comments
Owner

Originally created by @RonsonNamek on GitHub (Mar 15, 2025).

Description

This problem exists on both mobile phones and computers,and can be reproduced at https://demo.gitea.com

Screenshots

https://github.com/user-attachments/assets/40d3106c-9053-4658-937e-455fa39d4d1f

Gitea Version

1.23.5

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

docker

Browser Version

chrome 134.0.6998.89 (x64)

Originally created by @RonsonNamek on GitHub (Mar 15, 2025). ### Description This problem exists on both mobile phones and computers,and can be reproduced at https://demo.gitea.com ### Screenshots https://github.com/user-attachments/assets/40d3106c-9053-4658-937e-455fa39d4d1f ### Gitea Version 1.23.5 ### Can you reproduce the bug on the Gitea demo site? Yes ### Operating System docker ### Browser Version chrome 134.0.6998.89 (x64)
GiteaMirror added the topic/uitype/bugissue/needs-feedback labels 2025-11-02 11:07:51 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Mar 15, 2025):

It your network is slow, browser will do "partially render" for incomplete page.

@wxiaoguang commented on GitHub (Mar 15, 2025): It your network is slow, browser will do "partially render" for incomplete page.
Author
Owner

@lunny commented on GitHub (Mar 15, 2025):

I cannot reproduce it.

@lunny commented on GitHub (Mar 15, 2025): I cannot reproduce it.
Author
Owner

@A-caibird commented on GitHub (Mar 16, 2025):

I cannot reproduce it.

@A-caibird commented on GitHub (Mar 16, 2025): I cannot reproduce it.
Author
Owner

@RonsonNamek commented on GitHub (Mar 17, 2025):

It your network is slow, browser will do "partially render" for incomplete page.

Other pages load quickly, only this page loads and this phenomenon occurs. The gitea server is in the local area network, there will be no network problems, but the speed of accessing captcha will be slow.

When I disabled captcha, this problem no longer occurred.

@RonsonNamek commented on GitHub (Mar 17, 2025): > It your network is slow, browser will do "partially render" for incomplete page. Other pages load quickly, only this page loads and this phenomenon occurs. The gitea server is in the local area network, there will be no network problems, but the speed of accessing [captcha](https://www.recaptcha.net/recaptcha) will be slow. When I disabled captcha, this problem no longer occurred.
Author
Owner

@wxiaoguang commented on GitHub (Mar 17, 2025):

That's the reason, the captcha uses embedded JS, so it blocks the page loading and browser does a partially rendering.

Maybe we should make the captcha JS to be loaded after page loading.

@wxiaoguang commented on GitHub (Mar 17, 2025): That's the reason, the captcha uses embedded JS, so it blocks the page loading and browser does a partially rendering. Maybe we should make the captcha JS to be loaded after page loading.
Author
Owner

@wxiaoguang commented on GitHub (Mar 17, 2025):

-> Defer captcha script loading #33919

@wxiaoguang commented on GitHub (Mar 17, 2025): -> Defer captcha script loading #33919
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14260