yairEO / tagify

🔖 lightweight, efficient Tags input component in Vanilla JS / React / Angular / Vue
https://yaireo.github.io/tagify/
Other
3.48k stars 429 forks source link

Ignore an email address in the middle of an sentence #1345

Open CasFreriks opened 3 months ago

CasFreriks commented 3 months ago

Prerequisites

Hi, I'm using Tagify with the mix mode enabled. It's working perfectly, but when I use an email address in the middle of a sentence, such as: test@test.com, it's searching for @test.com. Is there any way I can ignore this?

Example: image

yairEO commented 3 months ago

hmmm... I have never thought about that specific scenario.. and I've been working on this since 2017 :) very interesting!

I would have to think how can the code detects what is an email and optionally ignore it.

You can always click the ESC key to hide the suggestions dropdown but I guess it is still annoying. It would take me some time to solve this. I assume it isn't urgent