mirror of
https://github.com/go-gitea/gitea.git
synced 2026-11-16 08:01:15 +00:00
Backport #40349 by @silverwind Dropdowns initialized without an options object shared the default Fomantic templates, so the ARIA patch kept wrapping `templates.menu` on the defaults and retained every dropdown ever created. This grows memory on the Actions run list, which re-renders its dropdowns on each refresh. Each dropdown now gets its own templates copy, which the ARIA patch modifies in place. Fixes: https://github.com/go-gitea/gitea/issues/40347 Assisted-by: Claude Code:claude-opus-5-5 Co-authored-by: silverwind <me@silverwind.io>