If they go up immediately when the key hits the first position your problem is the Nason switch. The Nason switch is a switch on the bottom of the brake switch. This switch is used to indicate the jacks are down. Had mine fail while the step was out over the curb and when jacks went into what I call an emergency retract it bent the steps.
Nason P/N: SM-1C-66R/WP28
Hydraulic Controls in Phoenix .
Phone # 602-278-6088.
I understand there are several variations. So before ordering, remove your switch and you will see the part number on it.
Brian, Loretta & Daisy (Golden Retriever)
2008 Holiday Rambler Endeavor 40 PDQ , ISL 400
2014 Ford Explorer toad