hugeblank / KristChat

Social Media Platform built on the Krist Blockchain, for ComputerCraft
1 stars 1 forks source link

Chatbar bug - A second spawns under with a max length string - Characters do not wrap. #8

Closed SkyTheCodeMaster closed 3 years ago

SkyTheCodeMaster commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to any chatroom
  2. Put a max length string (no spaces) in the chatbar. 2.5 See error - Instead of wrapping, the characters continue offscreen.
  3. Begin erasing the characters.
  4. See error - A second chatbar will appear under the first.

Expected behavior A clear and concise description of what you expected to happen. I would expect it to wrap to a second line, and also to just remove the characters from the bar, and only have one bar.

Screenshots If applicable, add screenshots to help explain your problem. image

Platform (please complete the following information):

Additional context Add any other context about the problem here.

hugeblank commented 3 years ago

C-C-C-C-COMBO BUG!!!

This is two things going wrong:

  1. Strings without spaces that span the entire line and then some don't get split
  2. The window, when reducing in size writes over the post board.

Thanks for reporting this I'll have it fixed ASAP