The fixture should not turn off in switch control with the switch on. Please double check the wiring.
Please reach out to customer service for assistance. 1-800-291-8838.