summaryrefslogtreecommitdiffstats
path: root/services/pull
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-07-31 16:02:25 +0800
committerGitHub <noreply@github.com>2023-07-31 10:02:25 +0200
commit0f265a2489bcdac6cf350a89eecb19ed78e133c1 (patch)
tree61a7c0862430499384ea9a8fbf4fc3235c51762d /services/pull
parent0d04f70d6ae9a1cfd20117f57a901017021ea1f3 (diff)
downloadgitea-0f265a2489bcdac6cf350a89eecb19ed78e133c1.tar.gz
gitea-0f265a2489bcdac6cf350a89eecb19ed78e133c1.zip
Don't autosize textarea in diff view (#26233) (#26244)
Backport #26233 by @silverwind Resizing the comment editor can be a very expensive operation because it triggers page reflows, which on large PRs can take upwards of seconds to complete. Disable this mechanism on the diff page only where we know that the page can get large. Fixes https://github.com/go-gitea/gitea/issues/26201 for the textarea editor. I don't think this can be fixed for EasyMDE because as far as I can tell, it exposes no option to disable this resizing. Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'services/pull')
0 files changed, 0 insertions, 0 deletions