shedaniel / RoughlyEnoughItems

Clean and Configurable. Your recipe viewer mod for 1.13+.
Other
334 stars 68 forks source link

[Bug] Pressing backspace in the search bar removes characters on key up as well as key down #1759

Open ThatGamerBlue opened 1 week ago

ThatGamerBlue commented 1 week ago

What happened?

Pressing backspace while in the search bar consistently deletes two characters from the end of your search, once on key down and once on key up

Fabric API: 0.107.3+1.21.3 Architectury: 14.0.4-fabric Cloth Config: 16.0.141-fabric REI: 17.0.790-fabric

What mod loaders are you seeing the problem on?

Fabric

What do you think this bug is of?

Relevant log output

N/A

Anything else?

No response

By submitting this issue, I have included the necessary logs by pasting the contents into the correct location or attaching the file as an upload.

By submitting this issue, I have confirmed my REI and REI's dependencies are up to date.

JoshuaVandaele commented 1 week ago

This also happens on pasting (CTRL+V). Both key up and key down events are processed as pasting, resulting in the string being pasted twice.