From 6ed7f8a2305cd5d447f5e99f92a06e19af806eb6 Mon Sep 17 00:00:00 2001 From: Yusuf Suleman Date: Sat, 4 Apr 2026 06:15:59 -0500 Subject: [PATCH] fix: restore WKWebView alpha to 1 when reparenting to article container MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The GPU warmup set webView.alpha = 0 to keep it invisible while attached to the window. makeUIView reparents it to the article container but never restored alpha — articles rendered invisibly. Co-Authored-By: Claude Opus 4.6 (1M context) --- ios/Platform/Platform/Features/Reader/Views/ArticleWebView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/ios/Platform/Platform/Features/Reader/Views/ArticleWebView.swift b/ios/Platform/Platform/Features/Reader/Views/ArticleWebView.swift index bdde9cf..58fe0fd 100644 --- a/ios/Platform/Platform/Features/Reader/Views/ArticleWebView.swift +++ b/ios/Platform/Platform/Features/Reader/Views/ArticleWebView.swift @@ -82,6 +82,7 @@ struct ArticleWebView: UIViewRepresentable { let webView = ArticleRenderer.shared.webView webView.removeFromSuperview() + webView.alpha = 1 webView.frame = container.bounds webView.autoresizingMask = [.flexibleWidth, .flexibleHeight] container.addSubview(webView)