angular-mentions
angular-mentions copied to clipboard
please add a feature to get all mention list while we type 'Ctrl+Space'
I want to get all the mention list whenever I am typing Ctrl+Space . It will be helpful if you can integrate that feature .
To confirm, you mean the mention list would open pressing Ctrl+Space instead of pressing the trigger character (e.g "@")? And in this scenario there is no prefix added to the items when they are selected?
yes...that is what I exactly need. when i press Ctrl+space , mention list need to be displayed in the "textarea" without any prefix character.
const event = new KeyboardEvent("keydown", { key : `@`, code : `Digit2`});
Every time you hit Ctrl+Space create a keyboard event
@Alec-Aldrine-Lakra this will show the items list, but will not let you interact with it (arrow keys or click)
the problem seems to occur because pos === this.startPos, but the code requires pos > this.startPos
Is it possible to check for the presence of a previous character? so that the trigger does not work when it is called in the middle of the word?