Refined-github: fit-textareas feature is expanding the edit dialog up to hundreds of pages

Created on 3 Apr 2019  ·  6Comments  ·  Source: sindresorhus/refined-github

If I have an issue with thousands of lines, i.e., and hit the edit button, and the option fit-textareas is enabled, the text box area is expanded and the save and cancel button are hard to reach.

image

bug

Most helpful comment

The changelog mentions it as “Comment boxes expand with their content and no longer show scroll bars”

All 6 comments

What are you suggesting as the work around? Not applying the box on edit functionality? I personally use the keyboard shortcuts and never hit the buttons.

Maybe limit the maximum size?

Also, I kept trying to hit Esc key, but it did not work to cancel it, it just did nothing.

I feel the pain. Here are 2 solutions that don't involve setting a limit:

So I think if the esc-to-cancel feature if fixed (or extended to edited comments), then this would at least fix the specific use case.

I just disabled the setting and it seems more than enough because GitHub by itself, already auto expand the edit box size up to a page size and it seems more than enough.

I just do not understand why this problem happened rigth now. Did you add this fit-textareas setting recently? I looked over the changelog and could not find any mention of fit-textareas.

The changelog mentions it as “Comment boxes expand with their content and no longer show scroll bars”

Replaced with a more specific issue: #2413

Was this page helpful?
0 / 5 - 0 ratings