forgejo/web_src
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
..
css Fix UI regression of asciinema player (#26159) (#26162) 2023-07-26 12:34:55 +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-07-31 10:02:25 +02:00
svg Use inline SVG for built-in OAuth providers (#25171) (#25234) 2023-06-13 12:04:40 +00:00