Your comments

Thanks for the reply. I dug deeper and found that utility for smooth scrolling called Mos disabled this feature globally for most apps by default. Changing it in that utility and it works now as expected.

Does not work for me on Mac 22.1.5