Mouse buttons suddenly stopped working

Hello,

I have a Logitech G502 Hero. I have played with this mouse for over a year. Recently my mouse button 4 and 5 which are on the side stopped working, but only when hovering over a Unit Frame such as my target or the party/raid frame. For example, prayer of mending will not cast on a target until i move the mouse off my raid frames. I use multiple addons such as elvui and clique for healing. I tried disabling all of my addons and this still didnt help. It still persists with the Blizzard UI. I then went into the Logitech Ghub app and changed the key binds to ; and , . This did fix the issue, but I am wondering why this all of a sudden became an issue as I have played with this style of mouse for over 10 years with no issues. Any help would be great.

Thanks!

Move the addons into another directory to fully disable them, and try again.