Most plants will exhibit the tendency to grow and lean towards light sources, especially the faster growing stem plants, they can literally change direction to face better light sources very quickly.
The only way to prevent this type of growth pattern is to remove (or at least reduce) external light sources, like drawing the window curtains or switching off the room/corridor lights etc.
Bookmarks