Skip to content

Commit

Permalink
[BUG] hostView should be transparent (#15)
Browse files Browse the repository at this point in the history
hostView should be transparent
  • Loading branch information
SahilSainiYML committed Mar 28, 2023
1 parent 767887e commit f831d6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/YStepper/UIKit/StepperControl.swift
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ private extension StepperControl {
func addStepperView() {
stepperView.delegate = self
let hostController = UIHostingController(rootView: stepperView)
hostController.view.backgroundColor = .clear
addSubview(hostController.view)
hostController.view.constrainEdges()
}
Expand Down

0 comments on commit f831d6b

Please sign in to comment.