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

🐛 Bug Report: Incorrect line wrapping in user messages #923

Closed
2 tasks done
pabik opened this issue Apr 11, 2024 · 0 comments · Fixed by #942
Closed
2 tasks done

🐛 Bug Report: Incorrect line wrapping in user messages #923

pabik opened this issue Apr 11, 2024 · 0 comments · Fixed by #942
Assignees

Comments

@pabik
Copy link
Collaborator

pabik commented Apr 11, 2024

📜 Description

User messages are not wrapping to the next line as expected. Instead of breaking at complete words, the wrapping occurs at arbitrary points within a word. This results in words being split across lines, sometimes leaving a single letter isolated on a new line.

👟 Reproduction steps

Start a conversation with DocsGPT.

👍 Expected behavior

When a user message reaches the edge of the container, the line should break at the nearest complete word, ensuring that words are not split across lines.

👎 Actual Behavior with Screenshots

Words are split arbitrarily, which can result in awkward line breaks.
image

💻 Operating system

MacOS

What browsers are you seeing the problem on?

No response

🤖 What development environment are you experiencing this bug on?

Docker

🔒 Did you set the correct environment variables in the right path? List the environment variable names (not values please!)

No response

📃 Provide any additional context for the Bug.

No response

📖 Relevant log output

No response

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue

🔗 Are you willing to submit PR?

None

🧑‍⚖️ Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants