SwiftcordApp/Swiftcord

[Bug]: Text doesn't wrap when composing a message

danieltaylor opened this issue · 3 comments

Describe the Bug

Bug Description
When composing a message, text does not wrap to a new line if the text goes over the length of the input box.

This issue was previously reported in #45. It was marked as resolved, but seems to have returned in the latest release.

Actual Behaviour
Text is cut off. It is actually there but is not visible. When the message is sent, everything that was typed shows up as expected.
Screen Shot 2023-01-16 at 5 31 10 PM

Expected Behavior
Swiftcord should behave similarly to the Discord app:
Screen Shot 2023-01-16 at 5 32 51 PM

Reproducing the Bug

  1. Type a somewhat long message.

Version

0.5.1

Category

Message rendering

Hi @danieltaylor, may I know what macOS version you're using? This appears to be a bug on macOS 12, and I can't really fix that as its a problem within apple's SwiftUI implementation in the system itself.

bnwa commented

Definitely running into this myself on 12.6.3

Fixed by #134, thanks to @ErrorErrorError!

Screen.Recording.2023-02-15.at.5.00.02.PM.mov