Consider a surface that carries surface charge density. In electrostatics, boundary conditions are studied by showing that there is a discontinuity in the normal component of the electric field across the charged surface and that there is no discontinuity in the horizontal component.
My question is aren't the electric fields at the surface always perpendicular to the surface? I mean where does the horizontal component come from if wherever we look locally, close enough to the surface, it looks like a flat infinite patch and there is no horizontal components!