Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating a new location copies the name in the text box each time you perform a keyboard action on the text box #171

Open
Novocastrian opened this issue Mar 24, 2024 · 0 comments

Comments

@Novocastrian
Copy link

Novocastrian commented Mar 24, 2024

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:

  1. Start a new Blaze Black 2 Redux nuzlocke
  2. Click the next to any location (e.g. next to Floccesy Ranch)
  3. Click Add Location
  4. Enter a new name for the location
  5. Hit the Return key on the keyboard a few times
  6. Place the cursor anywhere in the generated text and click, then hit the Delete key a few times
    Expected behaviour
    Return 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant