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
Make comment box shrink on submit #13686
Conversation
Thank you for opening this PR! We appreciate you! For all pull requests coming from third-party forks we will need to A Forem Team member will review this contribution and get back to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great catch @oyeyipowale!
I tested it and it works! I added a small request :)
app/assets/javascripts/initializers/initializeCommentsPage.js.erb
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this locally and it works great - thanks for fixing it! I just have a small change request to make things hopefully clearer for anyone coming to the code in future 🙂
app/assets/javascripts/initializers/initializeCommentsPage.js.erb
Outdated
Show resolved
Hide resolved
5b27118
to
40ba833
Compare
Thanks for the fix @oyeyipowale! ✨ |
Great job @oyeyipowale ! Thanks for helping out and smashing this bug! |
@oyeyipowale would you mind making a quick post on DEV using this template. That way we can make sure you get the Bug Smash badge and stickers 😄 |
What type of PR is this? (check all applicable)
Description
The main comment box on the articles detail page does not reset to default height after successful submission. The inline style height set on the textarea element is not being removed.
Related Tickets & Documents
Fixes #13298
Added tests?
[optional] What gif best describes this PR or how it makes you feel?