darkreader / darkreader/darkreader

[BUG] White default for pages loading in Chrome upon tab-switching

Open
#4,161 13 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
22.4k
Forks
2.7k
Avg merge
21h 11m
Merged PRs (30d)
78

Description

### **Describe the bug**

Whenever a new page loads in the current tab, or (even more reliably-reproduced) whenever one jumps to a new tab, the screen is completely white for the first few seconds until the page fully loads (in dark mode). This is of course extremely unpleasant for the eyes when the monitor is adjusted for dark content across all apps.
I know this has been a problem for a while, but none of the open&closed issues I've read seem to apply, hence me opening a new one.

### **Steps to reproduce**

- open multiple tabs in Chrome, e.g. using Ctrl+click
- jump to one of the other now-open tabs (where the page has not yet been loaded), by clicking or using Ctrl+Tab
(-sometimes, it suffices to click on a link within a single tab, but jumping to another tab is a more sure-fire way of reproducing the behaviour.)

### **Expected behavior**

Black screen (assuming mode=dark) while page loads from buffer

### **Actual behavior**

White screen (assuming mode=dark) while page loads

### **System Information:**

- OS: Win 10
- Browser: Chrome 86.0.4240.193
- Dark Reader version: 4.9.22

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.