The Logitech MX Anywhere 3S is a nice little mouse with a really annoying scroll wheel. It has two annoying features:
- The 'free' mode where it scrolls with no resistance, instead of defined clicks (ratchets).
- When in ratchet mode, it's incredibly sensitive, so you often find after scrolling down a page that the viewport will then wobble up a few pixels.
I don't know how much of the latter is by design or a misbehaving driver on Linux, but you can fix both of these issues relatively easily.
To fix the first issue, install and run Solaar and set the wheel mode to 'Ratcheted':

To fix the second, blacklist hid_logitech_hidpp module:
echo "blacklist hid_logitech_hidpp" >> /etc/modprobe.d/blacklist.conf
## then regenerate your initramfs, with your distro's command:
# Fedora/RedHat/OpenSUSE:
sudo dracut --force
# Arch:
sudo mkinitcpio -P
# Debian/Ubuntu/Mint/etc:
sudo update-initramfs -u
Reboot and you should find that the scroll wheel behaves normally.