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

[FIX] Autogrow not working properly for many message boxes #14163

Merged
merged 7 commits into from
Apr 25, 2019

Conversation

tassoevan
Copy link
Contributor

Changes in width and height across many messageBox instances weren't patched into the shared autogrow shadow <div>. Keeping one shadow to each messageBox did the trick, but destroying the shadow when the <textarea> is destroyed couldn't be accomplished in vanilla JS; therefore relying on Blaze to handle it was the chosen option.

@tassoevan tassoevan added this to the 1.0.0 milestone Apr 17, 2019
@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-14163 April 17, 2019 04:38 Inactive
Copy link
Member

@ggazzo ggazzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please let me know if my question make sense :)

app/ui-message/client/messageBox/messageBoxAutogrow.js Outdated Show resolved Hide resolved
ggazzo
ggazzo previously approved these changes Apr 23, 2019
@ggazzo
Copy link
Member

ggazzo commented Apr 23, 2019

@tassoevan could you fix the conflicts?

@ggazzo ggazzo merged commit e03bb48 into develop Apr 25, 2019
@ggazzo ggazzo deleted the fix/messagebox-autogrow branch April 25, 2019 20:37
@rodrigok rodrigok mentioned this pull request Apr 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants