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:
5
.changeset/fix-inline-create-dep-cancel.md
Normal file
5
.changeset/fix-inline-create-dep-cancel.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@dustinbyrne/kb": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix InlineCreateCard cancelling when clicking dependency dropdown items with empty description.
|
||||||
Reference in New Issue
Block a user