Can baby villagers grow when they are in minecarts?

I built a villager breeder in Minecraft 1.16. The baby villagers flow to a collection station where I wait for them to grow up. When they grow up, it becomes a hassle to put them into minecarts and transport them to a designated location. To bypass the issue, I want to put the baby villagers in a minecart. However, I'm wondering if the villagers grow when they are stuck in a minecart.


They do grow up in 20 minutes in a minecart.