You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
silverwind aa723dea9b
Don't autosize textarea in diff view (#26233)
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: Giteabot <teabot@gitea.io>
11 months ago
..
blob_excerpt.tmpl Button and color enhancements (#24989) 1 year ago
box.tmpl Add commits dropdown in PR files view and allow commit by commit review (#25528) 11 months ago
comment_form.tmpl Don't autosize textarea in diff view (#26233) 11 months ago
comment_form_datahandler.tmpl Make sure fmt catches all templates (#20979) 2 years ago
comments.tmpl Show outdated comments in files changed tab (#24936) 1 year ago
compare.tmpl Repository Archived text title center align (#25767) 1 year ago
conversation.tmpl Show outdated comments in files changed tab (#24936) 1 year ago
csv_diff.tmpl Fix CSV diff for added/deleted files (#21189) 2 years ago
escape_title.tmpl Switch Unicode Escaping to a VSCode-like system (#19990) 2 years ago
image_diff.tmpl Improve "new-menu" (#24465) 1 year ago
new_comment.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 4 years ago
new_review.tmpl Add commits dropdown in PR files view and allow commit by commit review (#25528) 11 months ago
options_dropdown.tmpl Show outdated comments in files changed tab (#24936) 1 year ago
section_code.tmpl Add template linting via djlint (#25212) 1 year ago
section_split.tmpl Make `add line comment` buttons focusable (#25894) 12 months ago
section_unified.tmpl Make `add line comment` buttons focusable (#25894) 12 months ago
stats.tmpl Group template helper functions, remove `Printf`, improve template error messages (#23982) 1 year ago
whitespace_dropdown.tmpl Show outdated comments in files changed tab (#24936) 1 year ago