Yes, legs can ride up depending on your leg shape or just hit at an unflattering length.

Grippers on the bottom are also intended to hold up leg or knee warmers. Additionally, short inseams don't combine well with these.