Unverified Commit 9ea27ee6 authored by spaghetti-coder's avatar spaghetti-coder Committed by GitHub

fix(ui): fix todo command does nothing (#5329)

parent 618db89f
......@@ -105,7 +105,8 @@ export function useSuggestions<T>({
if (["Enter", "Tab"].includes(e.code)) {
handleAutocomplete(suggestions[selected]);
e.preventDefault();
e.stopPropagation();
// Prevent other listeners to be executed
e.stopImmediatePropagation();
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment