When sneaking, there is a noticeable delay between when the action itself (the slowing of player movement) and when the camera shift occurs. Pressing the sneak key doesn't delay the slowing/prevention of falling off ledges, only the animation of the camera movement.
To recreate:
Join any world and sneak.
Does MC-147305 describe your issue? It was fixed in 1.14 Pre-Release 3.