forgejo/templates
Giteabot cc8c7005a6
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>
(cherry picked from commit 0f265a2489)
2023-08-21 07:22:15 +02:00
..
admin Display deprecated warning in admin panel pages as well as in the log file (#26094) (#26154) 2023-07-30 07:42:53 +02:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base [BRANDING] link to forgejo.org/docs instead of docs.gitea.io 2023-07-17 00:25:56 +02:00
code Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
custom
devtest Make "cancel" buttons have proper type in modal forms (#25618) (#25641) 2023-07-03 17:09:38 +08:00
explore Fix repo search broken because of profile page added (#25455) (#25467) 2023-06-23 15:48:35 +02:00
mail Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
org Merge remote-tracking branch 'forgejo/v1.20/forgejo-moderation' into v1.20/forgejo 2023-07-17 08:01:23 +02:00
package RPM Registry: Show zypper commands for SUSE based distros as well (#25981) (#26020) 2023-07-24 07:59:10 +02:00
projects Remove test string (#25447) (#25448) 2023-06-22 17:30:51 +00:00
repo Don't autosize textarea in diff view (#26233) (#26244) 2023-08-21 07:22:15 +02:00
shared Don't autosize textarea in diff view (#26233) (#26244) 2023-08-21 07:22:15 +02:00
status Show OAuth2 errors to end users (#25261) (#25271) 2023-06-15 02:48:36 +00:00
swagger fix Missing 404 swagger response docs for /admin/users/{username} (#26086) (#26089) 2023-07-26 13:49:15 +02:00
user Fixed incorrect locale references (#26218) (#26222) 2023-07-30 07:46:19 +02:00
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2023-04-01 13:47:54 +08:00
install.tmpl Merge remote-tracking branch 'forgejo/v1.20/forgejo-branding' into v1.20/forgejo 2023-07-17 08:01:16 +02:00
post-install.tmpl [BRANDING] Custom loading animation for Forgejo 2023-07-17 00:25:55 +02:00