That is not quite true.
It will bend to keep growing towards the maximum source of sunlight.
I don't think that's correct. My understanding, at least, is that the gravity cue is far stronger than the light cue, such that a plant will turn away from sunlight to follow gravity. If you think about it, this almost has to be the case, as there are many instances when a plant has to grow without any direct sunlight, e.g. when shaded in the understory, or before the new shoots break ground.