Skip to content

v1.8.6 — Fix stuck loading spinner on extension page

Choose a tag to compare

@loak7993-code loak7993-code released this 02 Aug 22:38
· 3 commits to main since this release

Loading spinner stuck — fixed

The custom WebViewClient I set on the extension popup tab was replacing the browser's BrowserWebViewClient which handles the progress bar, loading spinner, and tab state updates. When the popup finished loading, the custom client didn't clear the spinner — it got stuck on the loading circle.

Fix

Don't replace the webViewClient at all. Instead, inject the chrome.* API shim and CSS fullwidth override via postDelayed (at 300ms and 1500ms after loadUrl). The BrowserWebViewClient (already set by createWebView) handles progress, loading state, and content scripts as normal.

Version: 1.8.6 (versionCode 44)