Check the actual reopening product. All elevators have devices that detect now of course object operates a door assist the door from closing on a passenger.
Well-known are mechanical, some are electronic with infrared beams, and some have blend both. https://edu.Growthladder.co.in/question/protect-your-family-home-fire-safety-tips-12/