kiwix / kiwix-js-pwa

Kiwix JS Offline Browser implemented as a Progressive Web App (PWA), and packaged as Electron, NWJS and UWP apps for Windows and Linux.
https://pwa.kiwix.org
GNU General Public License v3.0
168 stars 26 forks source link

When in dark mode, clicking on a link inside a popover preview sometimes fails to show the corresponding article #620

Open Jaifroid opened 1 month ago

Jaifroid commented 1 month ago

There appears to be a race condition whereby a delay in showing the article to the user (designed to prevent flash of incorrect style) causes a page that is opened from a popover link not to display (occasionally) when either the standard or the Dark Reader dark modes are enabled. The screen is never un-blanked.

Jaifroid commented 1 month ago

Now I can't reproduce it, but it was reproducing for sure yesterday. Well, this is typical of race conditions...