Forgejo/templates/shared
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
..
actions use css on labels (#25626) (#25636) 2023-07-03 12:25:16 +08:00
secrets Change add_on translation to added_on and include placeholder for the date (#24562) 2023-05-06 21:11:27 +08:00
user Show bot label next to username when rendering autor link if the user is a bot (#24943) 2023-05-26 18:58:11 +02:00
combomarkdowneditor.tmpl Don't autosize textarea in diff view (#26233) (#26244) 2023-07-31 10:02:25 +02:00
issueicon.tmpl Rework notifications list (#24812) 2023-05-25 02:31:26 +00:00
issuelist.tmpl Actions list enhancements (#25601) (#25678) 2023-07-04 13:00:34 +00:00
searchbottom.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00