I face the same bug in iOS 14 final. What worked for me was to set the view needs layout and call layoutIfNeeded afterwards.
slider.setNeedsLayout()
slider.layoutIfNeeded()
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: