Cross-section of ball-detent mechanism with leaf spring