Hovering for variants seems to be not working as intended

The hovering works but once I move off the overlay it goes through and highlights all the other names for a split second, which is really weird and annoying. Does anyone know why this might be occurring and how to fix it? I was using components and their variants to make this happen incase that helps! Appreciate any insight into this issue.