Forgejo/templates
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
..
admin Display deprecated warning in admin panel pages as well as in the log file (#26094) (#26154) 2023-07-26 09:22:39 +00:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Align language menu icon and fit the footer area (#25556) (#25563) 2023-06-28 11:51:24 -04:00
code Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08: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) (#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 Button and color enhancements (#24989) (#25176) 2023-06-11 02:13:08 +00:00
package RPM Registry: Show zypper commands for SUSE based distros as well (#25981) (#26020) 2023-07-20 21:15:47 -04: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-07-31 10:02:25 +02:00
shared Don't autosize textarea in diff view (#26233) (#26244) 2023-07-31 10:02:25 +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-24 12:07:39 +02:00
user Fixed incorrect locale references (#26218) (#26222) 2023-07-29 21:54:35 +00: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) (#25838) 2023-07-12 02:01:38 -04:00
post-install.tmpl Remove incorrect element ID on "post-install" page (#25104) (#25129) 2023-06-08 11:22:32 +00:00