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

When composing a very long, unwrappable message, the composer overflows #22514

Closed
justjanne opened this issue Jun 10, 2022 · 4 comments
Closed

Comments

@justjanne
Copy link
Contributor

Steps to reproduce

  1. Write a very long, unwrappable message, e.g. 2000 times the character "w"

Outcome

What did you expect?

The composer forces the message to be wrapped anyway

What happened instead?

The composer overflows out of its boundaries, through the right panel and into nirvana.

Operating system

Ubuntu Budgie 22.04 (jammy)

Application version

Element Nightly version: 2022061001 Olm version: 3.2.8

How did you install the app?

https://element.io/get-started#nightly

Homeserver

chat.element.io

Will you send logs?

No

@luixxiul
Copy link

Same as #22507 ?

@justjanne
Copy link
Contributor Author

The following change seems to fix the issue for me locally:

diff --git a/res/css/views/rooms/_MessageComposer.scss b/res/css/views/rooms/_MessageComposer.scss
index 5c34f78a8b..8e091b9431 100644
--- a/res/css/views/rooms/_MessageComposer.scss
+++ b/res/css/views/rooms/_MessageComposer.scss
@@ -37,6 +37,7 @@ limitations under the License.
     }
 
     .mx_MessageComposer_row {
+        overflow: hidden;
         grid-area: composer;
     }

@justjanne
Copy link
Contributor Author

Same as #22507 ?

You’re right, it’s a duplicate! Sorry I didn’t check earlier

@justjanne justjanne closed this as not planned Won't fix, can't repro, duplicate, stale Jun 10, 2022
@luixxiul
Copy link

No problem! Rather thank you for creating the issue to confirm the bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants