Skip to content

Allow scroll propagation outside code editor (#36502)#36510

Merged
lunny merged 1 commit intogo-gitea:release/v1.25from
GiteaBot:backport-36502-v1.25
Feb 1, 2026
Merged

Allow scroll propagation outside code editor (#36502)#36510
lunny merged 1 commit intogo-gitea:release/v1.25from
GiteaBot:backport-36502-v1.25

Conversation

@GiteaBot
Copy link
Collaborator

@GiteaBot GiteaBot commented Feb 1, 2026

Backport #36502 by @lunny

Fix #28479

When scrolling inside the editor and the editor has already reached the end of its scroll area, the browser does not continue scrolling. This is inconvenient because users must move the cursor out of the editor to scroll the page further.

This PR enables automatic switching between the editor’s scroll and the browser’s scroll, allowing seamless continuous scrolling.

Fix go-gitea#28479

When scrolling inside the editor and the editor has already reached the
end of its scroll area, the browser does not continue scrolling. This is
inconvenient because users must move the cursor out of the editor to
scroll the page further.

This PR enables automatic switching between the editor’s scroll and the
browser’s scroll, allowing seamless continuous scrolling.
@GiteaBot GiteaBot added modifies/frontend topic/ui Change the appearance of the Gitea UI labels Feb 1, 2026
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Feb 1, 2026
@GiteaBot GiteaBot added this to the 1.25.5 milestone Feb 1, 2026
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Feb 1, 2026
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Feb 1, 2026
@lunny lunny merged commit 57ce10c into go-gitea:release/v1.25 Feb 1, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/frontend topic/ui Change the appearance of the Gitea UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants