Skip to content

Commit

Permalink
fix #66: webView 스크롤 비활성화
Browse files Browse the repository at this point in the history
  • Loading branch information
0inn authored and enebin committed Aug 18, 2023
1 parent 44d6267 commit 1ff0318
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public struct KeymeWebView: UIViewRepresentable {
// This is the important part
webView.configuration.userContentController.add(context.coordinator, name: "appInterface")
webView.backgroundColor = .init(white: 1, alpha: 0.3)
webView.scrollView.isScrollEnabled = false

if let url = URL(string: url) {
webView.load(URLRequest(url: url))
Expand Down

0 comments on commit 1ff0318

Please sign in to comment.