NEW266853
Dark/light mode switching not working while PWA is open
https://bugs.webkit.org/show_bug.cgi?id=266853
Summary Dark/light mode switching not working while PWA is open
Danny Moerkerke
Reported 2023-12-23 08:49:38 PST
When a web app is added to the Home Screen (PWA) dark/light mode switching doesn't work while the app is open. To reproduce: 1. install a web app to the home screen of an iPhone and open it in light mode 2. switch iPhone to dark mode 3. dark mode styling is not applied to the PWA 4. close the app 5. reopen the app 6. only now is the dark mode styling applied When the same web app is opened in Safari it does work correctly
Attachments
Karl Dubost
Comment 1 2023-12-24 22:07:55 PST
Hi Danny, thanks for the report. Not sure this is WebKit. It might be Safari Side.
Radar WebKit Bug Importer
Comment 2 2023-12-24 22:08:04 PST
Danny Moerkerke
Comment 3 2024-01-09 03:32:05 PST
(In reply to Karl Dubost from comment #1) > Hi Danny, thanks for the report. > Not sure this is WebKit. It might be Safari Side. Should I report this to the Safari team? Where do I do that?
Karl Dubost
Comment 4 2024-01-09 04:00:34 PST
Does it happen with all of them? Or one you have developed? If yes to the second question, a reduced test case would be great. I will test on my side too.
Karl Dubost
Comment 5 2024-01-09 04:19:37 PST
It was reproduced on twitter webapp. We moved it internally. Thanks again.
Danny Moerkerke
Comment 6 2024-09-16 14:48:38 PDT
This is now fixed on iOS 18, thanks.
Note You need to log in before you can comment on or make changes to this bug.