Skip to content

Commit

Permalink
Disable scrolling in Jitsi web view
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiqvik committed Oct 25, 2023
1 parent 59bae97 commit cde39e6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ extension JitsiVideoWebView {
webView.backgroundColor = .black
webView.isOpaque = false
webView.scrollView.backgroundColor = .black
webView.scrollView.isScrollEnabled = false

// Set a custom non-iPhone user agent, otherwise Jitsi might not load
webView.customUserAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
Expand Down

0 comments on commit cde39e6

Please sign in to comment.