Skip to content

Commit f831d6b

Browse files
[BUG] hostView should be transparent (#15)
hostView should be transparent
1 parent 767887e commit f831d6b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/YStepper/UIKit/StepperControl.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ private extension StepperControl {
103103
func addStepperView() {
104104
stepperView.delegate = self
105105
let hostController = UIHostingController(rootView: stepperView)
106+
hostController.view.backgroundColor = .clear
106107
addSubview(hostController.view)
107108
hostController.view.constrainEdges()
108109
}

0 commit comments

Comments
 (0)