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

[Bug]: Clicking when adding a new card cancels the add operation and loses changes #1100

Open
dot3dash4dot opened this issue Jan 31, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@dot3dash4dot
Copy link

Describe the bug

When in the middle of adding a new card, clicking on anything other than another card, loses the text you've already typed in the "add a card" textbox. This is also the case if you navigate to a different page than the Kanban board.

Expected Behavior

The in-progress new card should remain in progress, or the user should be asked whether to add the card or lose the changes

Steps to reproduce

On the board view:

  • Start adding a card and type some text into the textbox
  • Without hitting enter to save the card, click anywhere on the kanban board except an existing card, or navigate to a different Obsidian page
  • The in-progress new card's details are lost

Relevant errors (if available)

Operating system

macOS

@dot3dash4dot dot3dash4dot added the bug Something isn't working label Jan 31, 2025
@MattofLegend
Copy link

I’m encountering this issue as well. Lost a few cards because I needed to click into a different window for a second. So right now I’m immediately making the new card and then editing it because that same bug doesn’t exist when editing a card.

@dot3dash4dot
Copy link
Author

I’m encountering this issue as well. Lost a few cards because I needed to click into a different window for a second. So right now I’m immediately making the new card and then editing it because that same bug doesn’t exist when editing a card.

Actually, be warned there is a similar bug for editing!

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