Assuming you are not referring to a ground ball that has passed third base,
The ball is fair or foul depending on where the ball is when first touched.
It does not matter where the fielder’s feet are.
It does not matter where the ball goes after the initial touch.
It only matters whether the ball was over fair territory or over foul territory.