Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't autosize textarea in diff view (#26233) #26244

Merged
merged 1 commit into from
Jul 31, 2023

Commits on Jul 31, 2023

  1. Don't autosize textarea in diff view (go-gitea#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 go-gitea#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>
    silverwind and GiteaBot committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    dc169cf View commit details
    Browse the repository at this point in the history