If your shower door is swinging open it might be time to replace the magnet inside of the latch.
How to remove shower door magnet.
When the door closes the magnet adheres to the metal surface of the shower frame and keeps the door closed.
I have a frame less glass shower and the magnet in the door handle has rusted.
Swinging shower doors are held in place using a magnet set in the latch of the door.
Lastly does the door need to be removed in order fix the issue.
The strike plate seems fine.
Does the entire door handle need to be replaced.
Below is what the rusted magnet and handle look like.
The materials that you will need to install a magnet strip on to a glass shower door is a sheet of thin magnet which can be found at any local hardware store or online the adhesive method of your choice something to cut the magnet with a measuring tool and a screwdriver to open the latch.