Could be the latch has broken on the inside of the surround - 'specially if it's a plastic one (do you 'slam' the door rather than using the lever?).
They are usually replaceable, depending on the make and model, and most spares places can get them and/or fit them for you, if you can't do the latter yourself.