Fixed bug for @mention autocomplete feature where the tooltip pops up even when there's characters before the "@" e.g. typing an email address

Video below shows how it now works as intended. When there's any characters directly before "@", the tooltip wouldn't trigger. Only when there's a white space before the "@" would it trigger. But it works still if there's any chars after "@" - it'll just insert the username before the chars.

Had to switch away from using @keydown.@ event listener to just @input because former 'ignores' the @ as part of input.value! And added an if statement where if(keystrokeTriggered) then showTooltip().