fix(KB-183): prevent dep-dropdown clicks from cancelling InlineCreateCard

- Add onMouseDown preventDefault on dep-dropdown and items to retain focus
- Extend focusout guard to check dependencies and showDeps state before cancelling
- Update useEffect dependency array to include dependencies and showDeps
- Add tests for mouseDown preventDefault and no-cancel with selected deps
- Add changeset for the patch fix
This commit is contained in:
Dustin Byrne
2026-03-28 18:17:20 -04:00
parent 3e7966042c
commit 9033a79f9a

View File

@@ -0,0 +1,5 @@
---
"@dustinbyrne/kb": patch
---
Fix InlineCreateCard cancelling when clicking dependency dropdown items with empty description.