You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/web_src/js
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>
2 years ago
..
components Fix escape problems in the branch selector (#25875) (#26103) 2 years ago
features Don't autosize textarea in diff view (#26233) (#26244) 2 years ago
markup Fix task list checkbox toggle to work with YAML front matter (#25184) (#25227) 2 years ago
modules Make "cancel" buttons have proper type in modal forms (#25618) (#25641) 2 years ago
render Add PDF rendering via PDFObject (#24086) 2 years ago
standalone Add new JS linter rules (#17699) 3 years ago
test Improve emoji and mention matching (#24255) 2 years ago
utils Always pass 6-digit hex color to monaco (#25780) (#25782) 2 years ago
webcomponents Refactor locale number (#24134) 2 years ago
bootstrap.js Improve template system and panic recovery (#24461) 2 years ago
index.js Redesign Scoped Access Tokens (#24767) 2 years ago
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 5 years ago
svg.js Add show timestamp/seconds and fullscreen options to action page (#24876) 2 years ago
svg.test.js Improve `<SvgIcon>` to make it output `svg` node and optimize performance (#23570) 2 years ago
utils.js Remove hacky patch for "safari emoji glitch fix" (#25208) (#25211) 2 years ago
utils.test.js Fix webauthn regression and improve code (#25113) 2 years ago