Depends how much it's lowering and where you are parked. If the ground is uneven the car will continue to try to level itself after you stop, it will go down but it should not go down to the bump stops. Opening the door freezes the suspension and stops the self leveling. If it stays up with the door open, it suggests that it is not a leak.
I think you should get the fault codes read, It might be a dodgy height sensor.
Oh and welcome.