0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 17:34:11 -05:00
forgejo/web_src/js
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
..
components Fix escape problems in the branch selector (#25875) (#26103) 2023-07-26 13:49:15 +02:00
features Don't autosize textarea in diff view (#26233) (#26244) 2023-08-21 07:22:15 +02:00
markup Fix task list checkbox toggle to work with YAML front matter (#25184) (#25227) 2023-06-13 08:23:21 +00:00
modules Make "cancel" buttons have proper type in modal forms (#25618) (#25641) 2023-07-03 17:09:38 +08:00
render Add PDF rendering via PDFObject (#24086) 2023-05-29 12:10:00 +00:00
standalone [API] Forgejo API /api/forgejo/v1 2023-07-16 23:44:22 +02:00
test Improve emoji and mention matching (#24255) 2023-04-22 11:32:34 -04:00
utils Always pass 6-digit hex color to monaco (#25780) (#25782) 2023-07-09 13:06:13 +02:00
webcomponents Refactor locale number (#24134) 2023-04-17 11:37:23 +08:00
bootstrap.js Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
index.js Redesign Scoped Access Tokens (#24767) 2023-06-04 20:57:16 +02:00
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 2020-04-18 18:46:29 -04:00
svg.js Add show timestamp/seconds and fullscreen options to action page (#24876) 2023-05-30 20:38:55 +00:00
svg.test.js Improve <SvgIcon> to make it output svg node and optimize performance (#23570) 2023-03-23 11:24:16 +08:00
utils.js Remove hacky patch for "safari emoji glitch fix" (#25208) (#25211) 2023-06-12 18:16:04 +02:00
utils.test.js Fix webauthn regression and improve code (#25113) 2023-06-07 19:20:18 +08:00