Toddler always poos at same time as me?

My 15mo old will follow me into the bathroom, climb into the bathtub, hide behind the shower curtain, and poo(in her daiper) whenever I poo. How unusual is this? Am I the only one?

Oh and she giggles and peaks out at me while doing so 🤷😆

She has been doing this ever since our bathroom door lock stopped working properly