Bug 266853
| Summary: | Dark/light mode switching not working while PWA is open | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Danny Moerkerke <drmoerkerke> |
| Component: | Platform | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | clark1729, karlcow, luming_yin, ryan, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 17 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 17 | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=259328 | ||
Danny Moerkerke
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Karl Dubost
Hi Danny, thanks for the report.
Not sure this is WebKit. It might be Safari Side.
Radar WebKit Bug Importer
<rdar://problem/120109217>
Danny Moerkerke
(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
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
It was reproduced on twitter webapp.
We moved it internally.
Thanks again.
Danny Moerkerke
This is now fixed on iOS 18, thanks.