Logitech G903 scroll wheel issue on direction change

I am having an issue with the scroll wheel on my Logitech G903 wireless mouse. When I use the scroll wheel, I have to scroll 2 times for it to work. This only happens on direction change on the scroll wheel, and it only happens when I am using it wirelessly. I can also use it in wired mode, and in wired mode, i am not experiencing such issues with my scroll wheel. I have included an example below of how the issue is affecting me in all uis.

Hardware Information: https://0x0.st/Hijh.txt
Boot Log: https://0x0.st/HijC.txt

Example:
Scroll up: recognized
Scroll up: recognized
Scroll down: not recognized
Scroll down: recognized

Edit 1: Added Logs

Hi!

Just wanted to note that I am also having this issue with my Logitech MX Master 2S, which is connected through the Logitech Unifying dongle.

Often, if not always, the first scroll in the opposite direction is ignored. It’s not too annoying, say, while browsing, but all the more in games, when switching through an item bar.

Here’s my hardware log: https://0x0.st/HNW-.logs

Update: I’ve used libinput debug-events to print out the scroll events, which shows that the events on direction change are definitely registered, but they somehow don’t get executed. Here’s the log: https://0x0.st/HNw1.txt

I’ve inserted a line of ##### above every scroll event that is registered, but not executed.

Hello.

Got the same issue with the Logitech G502 Lightspeed when using the dongle, although it works perfectly fine in wired mode. I have tried using another Lightspeed receiver, cleaning the mouse, and reconnecting the receiver via Solaar, but unfortunately, nothing has helped so far.