Step 1 clean the track.
Sliding wardrobe door won t stay closed.
Builderonline is a free online advisory service for home renov.
Changing the angle the door hangs at will not change that.
Loosen the hinge screws in the jamb and insert a 1 16 in thick x 3 8 in wide piece of cardboard behind the hinge leaf.
In your case because the door slides open you ll need to either raise the back of the door or lower the front of the door that should be hitting the rubber stop in the closed position by changing the position of the roller.
Push it against the screws and retighten them.
If you have a door that just barely catches the latch because the gap between the door and frame is too big it s likely that the doors were installed poorly.
The laws of physics indicate there is a lateral force applied by gravity.
The track must have a slope and you need to change that first then you will need to adjust the heights to plumb the door up again.
It may take a little hit and miss until you get the door to sit level and properly seated in the track.
It s really annoying when a sliding door won t shut completely but adding a couple magnets can help it shut all the way every time.
Winding down the door as suggested by others will do nothing.
To fix this issue first try vacuuming up debris and grime from the track with a crevice attachment.
A dirty obstructed or damaged track can make a sliding closet door jump off its track.