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.
Sliding wardrobe door won t stay closed.
A dirty obstructed or damaged track can make a sliding closet door jump off its track.
Push it against the screws and retighten them.
Keith shows you how to adjust wardrobe sliding doors that are not aligned or closing properly.
Changing the angle the door hangs at will not change that.
Whether your door skips off the track sticks or won t close properly this guide will help you solve your issue.
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.
Winding down the door as suggested by others will do nothing.
It may take a little hit and miss until you get the door to sit level and properly seated in the track.
To fix this issue first try vacuuming up debris and grime from the track with a crevice attachment.
Step 1 clean the track.
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.
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.
Your sliding door might be able to latch if you hold it and lock.