You need to determine if the top.
Leaks around sliding glass door.
If the door is pulled over the debris the debris may be enough to lift the door in the track.
Water leakage is a common problem with sliding door thresholds.
If a frame is crooked water can leak into the gaps between door and frame.
My advice is to carefully remove the aluminum trim that s covering the wood trim that surrounds the sliding patio door.
Spray the door and look for the leak location.
Damage to the door itself.
If you cannot re create the leak problem inspect the interior of the door for stains or rust.
Glass doors are installed for purpose of retaining the water inside the shower area and not letting it splash outside.
Small stones and debris from shoes can accumulate in the sliding glass channels.
How to prevent water intrusion on sliding glass doors identify the issue.
These seals are usually installed with an adhesive that keeps them in place.
All the caulk in the world may not prevent your shower and glass door enclosure from leaking.
In the following picture one.
If water is leaking through a shower door where two panes of glass meet a seal should be installed.
Then remove any wood trim around the door.
Flashing is a protective sealing membrane designed to protect a wall at its most vulnerable points namely where window and door openings exist.
Aim a garden water hose with a sprayer set on mist or low at the outside of the sliding door.
Sometimes water intrusion is severe staining carpets and causing dryrot at the subfloor baseboards and sometimes even the wall.
After gaining a general understanding of your door keep in mind the easiest way to prevent leaks is.
But sometimes these doors start leaking contradicting the very purpose of their installation.
Have a reputable sliding door contractor remove the door if it has not been damaged build a new frame and reinstall the door.
A sliding glass door is no better than the frame into which it is placed.
It sounds like the problem may be with the flashing or lack thereof around your sliding glass door.
In fact caulk can make it worse.
Test the door for the location of the leak.
I have done posts in the past about not caulking the connection where tile shower and or tub enclosure meets the tub or the one piece shower base.