forgejo/templates
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>
2023-07-31 00:11:15 +02:00
..
admin Display deprecated warning in admin panel pages as well as in the log file (#26094) 2023-07-26 03:53:37 +00:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Enable H014 and H023 djlint rules (#25786) 2023-07-09 20:33:25 +00:00
code Fix inconsistent user profile layout across tabs (#25625) 2023-07-06 18:59:24 +00:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Make "cancel" buttons have proper type in modal forms (#25618) 2023-07-03 14:04:50 +08:00
explore Use calendar icon for Joined on... in profiles (#26215) 2023-07-29 19:34:49 +08:00
mail Add template linting via djlint (#25212) 2023-06-14 18:17:58 +00:00
org Allow Organisations to have a E-Mail (#25082) 2023-07-25 08:26:27 +00:00
package RPM Registry: Show zypper commands for SUSE based distros as well (#25981) 2023-07-20 17:37:31 +02:00
projects Fix margin on the new/edit project page. (#25885) 2023-07-16 14:53:54 +00:00
repo Don't autosize textarea in diff view (#26233) 2023-07-31 00:11:15 +02:00
shared Don't autosize textarea in diff view (#26233) 2023-07-31 00:11:15 +02:00
status Replace fomantic divider module with our own (#25539) 2023-06-29 20:24:22 +08:00
swagger Doc update swagger doc for POST /orgs/{org}/teams (#26155) 2023-07-26 10:22:56 +00:00
user Fixed incorrect locale references (#26218) 2023-07-29 21:34:22 +08:00
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2023-04-01 13:47:54 +08:00
install.tmpl Show correct SSL Mode on "install page" (#25818) 2023-07-11 18:09:23 -04:00
post-install.tmpl Remove incorrect element ID on "post-install" page (#25104) 2023-06-08 12:23:39 +08:00