momentum-mod / game

Momentum Mod - Standalone Source Movement Speedrunning (READ README)
https://momentum-mod.org
Other
521 stars 207 forks source link

User input goes past element boundaries #2192

Open isnt-one opened 2 weeks ago

isnt-one commented 2 weeks ago

Describe the bug

When the "ᅥ" character is spammed, it hijacks the expected behavior and goes beyond the boundaries of its container

image

Edit: Chat box functions as it should, but the message is displayed without similar properties of other messages to handle overflow

How To Reproduce

Go into any user input area and put as many "ᅥ" as it will allow

Issue Map

any

Expected Behavior

User input containers having hidden or scroll overflow-x or max-width properties to prevent

Operating System

any

tsa96 commented 2 weeks ago

Console multiselectlabels look like they're doing clipping in a reasonable way, definitely don't fix this without doing https://github.com/momentum-mod/game/issues/1775