flashflashrevolution / rCubed

Official Flash Flash Revolution game engine.
https://www.flashflashrevolution.com
GNU Affero General Public License v3.0
30 stars 17 forks source link

Multiplayer lobby textfield behaving incorrectly #379

Closed mat100payette closed 6 months ago

mat100payette commented 6 months ago

Describe the bug In the MP lobby's messaging text field, the text selection and caret behave pretty weirdly, which makes for a suboptimal UX. The caret isn't always lined up correctly, and selecting text moves the rest of the text around.

Video Here's a vid of the behavior.

Reproduction Steps Follow these steps to reproduce bug:

  1. Go to Multiplayer
  2. Click on the lobby's chat text field.
  3. Type in enough text to overflow the field's width.
  4. Play around selecting text, placing the caret in various spots, adding more text here and there. The field behaves weirdly.

Reproduction Rate This bug occurs 100% of the time.

Expected behaviour The text in the field should not move around regardless of the amount of text, the selection or the caret's position.

Desktop (please complete the following information):

Additional context or comments Works on default window aspect ratio, but seems worse on ratios much different than the default.