nuzlocke.app
nuzlocke.app copied to clipboard
Creating a new location copies the name in the text box each time you perform a keyboard action on the text box
Describe the bug
As the title says, the text box seems to inject the text box name whenever you do a keyboard action that isn't entering a character, such as Delete
and Return
keys doing their intended action then duplicating the text box contents
To Reproduce Steps to reproduce the behaviour:
- Start a new Blaze Black 2 Redux nuzlocke
- Click the
⋮
next to any location (e.g. next toFloccesy Ranch
) - Click
Add Location
- Enter a new name for the location
- Hit the
Return
key on the keyboard a few times - Place the cursor anywhere in the generated text and click, then hit the
Delete
key a few times Expected behaviourReturn
submits the name and changes the focus to the next element for keyboard/screenreader users.Delete
deletes the character, and the focus remains inside the textbox.
Actual Behaviour
Return
adds a new line then duplicates the entire textbox text.
Delete
deletes the character then duplicates the entire textbox text.
Screenshots https://github.com/domtronn/nuzlocke.app/assets/4601813/245e4b9d-e7c9-4205-9484-525709ec1360
Desktop (please complete the following information):
- OS: Win 11 Pro 23H2
- Browser Chrome
- Version 123.0.6312.58