I have that same reaction to even a hint of onions. I’m good with garlic, though.
I’m ok sort of with onions, though they do repeat slightly, but not bad-
Wish i could take garlic though as it’s packed with good stuff- plus i love the taste- oh well-