That behavior is controlled by an option in TextExpander’s Expansion settings: you can select whether TE should immmediately expand the snippets while you type, or only after you enter a delimiter character, such as punctuation or space.
Selecting either of the “at delimiter” options should fix that issue for you.
