Setting '(pixel-scroll-precision-mode 1)' with '(setq scroll-margin 5)' (or any other non-zero value) creates a conflict where the pointer just
can't move further while using mouse scrolling. Without '(pixel-scroll-precision-mode 1)' mouse scrolling with the scroll-margin works fine.
In GNU Emacs 30.0.60 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.0) of 2024-08-20 built on archlinux
Repository revision: fc7581ae2ee9db1e3189b76c66be9cd13f72f004