Hmm the only thing I can think of is if your addEventListener function is being triggered several times, there might be multiple event listeners being added.
You can try conditionally adding the event listener only when there’s not one currently attached.
1 Like