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

fit-textareas isn't run after a comment submission #6639

Closed
fregante opened this issue May 10, 2023 · 0 comments · Fixed by #6719
Closed

fit-textareas isn't run after a comment submission #6639

fregante opened this issue May 10, 2023 · 0 comments · Fixed by #6719
Labels
bug help wanted small Issues that new contributors can pick up

Comments

@fregante
Copy link
Member

Description

The field is cleared either by value = '' or via field.form.reset()

The former doesn't have an event, the latter should be tracked in https://github.com/fregante/fit-textarea

The unfortunate part is that fit-textarea has been in a weird limbo since 1999 so the listener should be added here.

How to replicate the issue + URL

  1. Visit an issue
  2. Smash the keyboard and enter enough line breaks to expand the field
  3. Submit comment
  4. Notice that the field doesn't shrink back

Extension version

23.4.15

Browser(s) used

Safari, Chrome

@fregante fregante added bug help wanted small Issues that new contributors can pick up labels May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug help wanted small Issues that new contributors can pick up
Development

Successfully merging a pull request may close this issue.

1 participant