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

Weird behavior when typing in and deleting saved cards #8

Closed
soph-harris-31 opened this issue Mar 6, 2024 · 2 comments
Closed

Weird behavior when typing in and deleting saved cards #8

soph-harris-31 opened this issue Mar 6, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@soph-harris-31
Copy link

Cards disappear and re-appear from my saved cards list when I do one of the following:

  1. Type a card into the saved cards list
  2. Switch to another tab or window without pressing enter or clicking elsewhere on the page.
  3. Switch back to the window or tab with cogwork librarian. The card will now not appear on the saved cards list.
  4. Click on any part of the page outside of the saved cards list. The card will now appear on the saved cards list.
  5. Click on the card in the saved cards list. The card will now not appear.

I can repeat steps 4 and 5 with the same behavior.

  1. Type a card into the saved cards list.
  2. Delete some or all of the text from that card's name.
  3. Click on any part of the page outside of the saved cards list. The card's full name will now appear on the saved cards list.
  4. Click on the card in the saved cards list. The card will now not appear.

Similar to the first method, I can repeat steps 3 and 4 with the same behavior. Notably, if I instead click on another card in the saved cards list rather than elsewhere on the page, the bug no longer occurs and the text I have typed or deleted will be saved.

Windows, Firefox 123.0.1

@soph-harris-31 soph-harris-31 added the bug Something isn't working label Mar 6, 2024
@dsoskey dsoskey self-assigned this Mar 6, 2024
@dsoskey
Copy link
Owner

dsoskey commented Mar 14, 2024

I'm able to reproduce the first two behaviors and i have a hunch on where this code is being called. hooray for custom text editors!

@dsoskey
Copy link
Owner

dsoskey commented Mar 14, 2024

I've got a fix shipping now that should do the trick: f4bdb64. Once I verify the fix in production, I'll close this out. feel free to reopen if you still experience this bug.

Edit: fix has reached production and has been manually verified

@dsoskey dsoskey closed this as completed Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants