mirror of
1
Fork 0
forgejo/web_src
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
..
css [GITEA] Use vertical tabs on issue filters 2023-08-19 13:17:00 +02:00
fomantic Remove more unused Fomantic variants (#25292) (#25323) 2023-06-17 17:14:25 +02:00
js Don't autosize textarea in diff view (#26233) (#26244) 2023-08-21 07:22:15 +02:00
svg Use inline SVG for built-in OAuth providers (#25171) (#25234) 2023-06-13 12:04:40 +00:00