gitea/templates/repo/diff
Giteabot 0f265a2489
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>
2023-07-31 10:02:25 +02:00
..
blob_excerpt.tmpl
box.tmpl Allow/fix review (approve/reject) of empty PRs (#25690) (#25732) 2023-07-06 19:34:41 +00:00
comment_form_datahandler.tmpl
comment_form.tmpl Don't autosize textarea in diff view (#26233) (#26244) 2023-07-31 10:02:25 +02:00
comments.tmpl
compare.tmpl
conversation.tmpl
csv_diff.tmpl
escape_title.tmpl
image_diff.tmpl
new_comment.tmpl
new_review.tmpl
options_dropdown.tmpl
section_code.tmpl
section_split.tmpl Make add line comment buttons focusable (#25894) (#25896) 2023-07-15 12:18:49 +02:00
section_unified.tmpl Make add line comment buttons focusable (#25894) (#25896) 2023-07-15 12:18:49 +02:00
stats.tmpl
whitespace_dropdown.tmpl