Fluid sticking to surface (2.8)
After playing around with the settings I tried enabling Fractional Obstacles inside the Liquid settings in the physics tab. This solved the issue for me. I think that the reason things like this were happening was that the obstacle was represented as a bunch of voxels, so in the fluid's perspective, it looked like a bunch of stairs. Checking Fractional Obstacles will probably smooth out the surface depending on the ratio.