Skip to content

Commit

Permalink
fix(text-editor): send stop trigger when outside
Browse files Browse the repository at this point in the history
Sends a stopTrigger event when the cursor goes outside the trigger.
  • Loading branch information
civing authored and john-traas committed Dec 9, 2024
1 parent 5f04859 commit d33417d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ export const createTriggerPlugin = (
triggerText.length,
)
) {
stopTrigger();

return;
}

Expand Down

0 comments on commit d33417d

Please sign in to comment.