     /// The numeric value shown in the picker (defaults to `0.0`)
     @IBInspectable public var value: Double = 0.0 {
         didSet {
-            updatePicker()
+            updateValue()
+
+            guard justInstantiated else { return }
+            justInstantiated = false
+            resize()
         }
     }
 

        }
    }

    // MARK: - Functions to facilitate testing
    
    func widthOfPickerView() -> CGFloat {
        let componentWidth: CGFloat! = picker.delegate?.pickerView!(picker, widthForComponent: 0)
        let componentCount = CGFloat((picker.dataSource?.numberOfComponents(in: picker))!)


    /// The `UIPickerView` embedded within this control
    fileprivate(set) var picker: UIPickerView = UIPickerView()

    /// When the `NumericPicker` is first instantiated, we want to size it properly according to `value`. After that,
    /// changing `value` shouldn't resize the view.
    private var justInstantiated = true

    // MARK: - Object life cycle

