aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/commit_sha256_test.go
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2025-05-13 08:52:25 +0200
committerGitHub <noreply@github.com>2025-05-13 08:52:25 +0200
commitb5fd3e7210cfbcb87015f3a5b8c3f25eab2a5715 (patch)
treef852e50d6cfb30c1251b362a40db89c4b9beedfb /modules/git/commit_sha256_test.go
parent4011e2245bcd96f53077f73b7a33b1a754f7151f (diff)
downloadgitea-b5fd3e7210cfbcb87015f3a5b8c3f25eab2a5715.tar.gz
gitea-b5fd3e7210cfbcb87015f3a5b8c3f25eab2a5715.zip
Fix comment textarea scroll issue in Firefox (#34438)
In the comment editor, there is a bug in Firefox where the scroll position unexpectedly moves up, which is annoying. This is not reproducible in Chrome and Safari. To reproduce here are some steps: - Go into an editable issue - Scroll page to bottom - Focus the textarea and press Return many times, causing the textarea to get a scrollbar - Scroll page to bottom again - Press Return once more - Page should not scroll up. This fixes the bug by adding a temporary margin, and I verified it works in all browsers. Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'modules/git/commit_sha256_test.go')
0 files changed, 0 insertions, 0 deletions