Deadlifts and Tall People

I’ve heard that taller people have an advantage in deadlifting…this doesnt make sense (longer legs=longer distance for the bar to travel) . Is this true, and if so, could somebody please explain why…also, can anybody apply this methodology to squats? Thanks.

People with long arms have an advantage when deadlifting, but if you got equal long legs, the advantage is lost.