Oh goodness, I am chuckling picturing your little one hanging onto your pants. My Luna does the same darned thing if I wear long pants, and she bites my shoelaces when I'm trying to walk. Sad to say, she's 6 years old and I haven't figured out how to make her stop

Good luck to you