forgejo/web_src/js/features
silverwind aa723dea9b
Don't autosize textarea in diff view (#26233)
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: Giteabot <teabot@gitea.io>
2023-07-31 00:11:15 +02:00
..
admin Show the mismatched ROOT_URL warning on the sign-in page if OAuth2 is enabled (#25947) 2023-07-18 22:14:30 +00:00
comp Don't autosize textarea in diff view (#26233) 2023-07-31 00:11:15 +02:00
captcha.js
citation.js
clipboard.js
codeeditor.js Always pass 6-digit hex color to monaco (#25780) 2023-07-09 12:17:22 +02:00
colorpicker.js
common-global.js Fix attachment clipboard copy on insecure origin (#26224) 2023-07-30 00:56:45 +02:00
common-issue-list.js
common-issue-list.test.js
common-organization.js
contextpopup.js
copycontent.js
dropzone.js
emoji.js
eventsource.sharedworker.js
file-fold.js
heatmap.js
imagediff.js Prevent duplicate image loading (#25675) 2023-07-04 14:43:02 +00:00
install.js
notification.js Fix notification list bugs (#25781) 2023-07-09 18:42:31 +00:00
org-team.js
pull-view-file.js Highlight viewed files differently in the PR filetree (#24956) 2023-06-25 08:46:30 +08:00
repo-branch.js
repo-code.js
repo-code.test.js
repo-commit.js Show branches and tags that contain a commit (#25180) 2023-07-27 12:47:41 +02:00
repo-common.js
repo-diff-commit.js Hide branch/tag icon if branches/tags are empty (#26204) 2023-07-28 23:05:24 +08:00
repo-diff-commitselect.js Add commits dropdown in PR files view and allow commit by commit review (#25528) 2023-07-28 21:18:12 +02:00
repo-diff-filetree.js
repo-diff.js Add commits dropdown in PR files view and allow commit by commit review (#25528) 2023-07-28 21:18:12 +02:00
repo-editor.js
repo-findfile.js
repo-findfile.test.js
repo-graph.js
repo-home.js
repo-issue-content.js Clarify "text-align" CSS helpers, fix clone button padding (#25763) 2023-07-08 11:53:56 +02:00
repo-issue-list.js Import sortablejs only once (#25936) 2023-07-17 18:06:37 +00:00
repo-issue-pr-form.js
repo-issue.js
repo-legacy.js Show branches and tags that contain a commit (#25180) 2023-07-27 12:47:41 +02:00
repo-migrate.js
repo-migration.js
repo-projects.js Import sortablejs only once (#25936) 2023-07-17 18:06:37 +00:00
repo-release.js
repo-settings.js
repo-template.js
repo-unicode-escape.js
repo-wiki.js
sshkey-helper.js
stopwatch.js
tablesort.js
tribute.js
user-auth-webauthn.js
user-auth.js Show the mismatched ROOT_URL warning on the sign-in page if OAuth2 is enabled (#25947) 2023-07-18 22:14:30 +00:00
user-settings.js