To me, the first sentence is not natural.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
ciprianShe was leaning over the table when he came in.That is perfectly good and quite common.
ciprianShe was leaned/leant over the table when he came in.That is OK, but not so common.
ciprianAre the two constructions
ciprianShe was leaning over the table when he came in.This is a grammatically correct, natural and perfectly acceptable sentence in English!