How to disable Ionic scroll from the code

I have used Ionic for a cross platform webapp and wants to disable the ionic scroll for the laptop version and only use it when the webapp is shown on a phone. I have tried to manipulate with the ion-content DOM setting overflow-scroll =“true” when the screen size is over a certain width but have not had any luck yet.

Does anybody have a good solution?