sindresorhus/refined-github


The issue has been closed
Comment fields stay tall after the comment is submitted #1977
fregante posted onGitHub
- Write a long comment on this issue
- See the
textarea
expand - Submit the content
- The
textarea
height should reset but it doesn't
This is probably because GitHub resets the content via .value = ''
and that doesn't trigger the input
event that fit-textarea
waits for.
However, GitHub's own textarea
resizer works correctly so they must have some other way to trigger this reset, like a custom event.