RESOLVED DUPLICATE of bug 300965302272
Scroll pocket tint changes when position: fixed elements are shown (eg dialog/popover)
https://bugs.webkit.org/show_bug.cgi?id=302272
Summary Scroll pocket tint changes when position: fixed elements are shown (eg dialog...
Ben Frain
Reported 2025-11-10 09:42:22 PST
Created attachment 477350 [details] reduction of issue Currently, iOS 26.1, if a page has a dialog or popover element (or any fixed position element), when that item is shown, the background of that dialog/popover, overwrites the color of the theme-color/color tint background. See attached reduction on iPhone/iPad and click the button. Notice how the tint area changes.
Attachments
reduction of issue (1.37 KB, text/html)
2025-11-10 09:42 PST, Ben Frain
no flags
Simon Fraser (smfr)
Comment 1 2025-11-11 17:35:45 PST
Are you just talking about the dimming caused by &::backdrop { background-color: rgb(0 0 0 / 10%); } or something more?
Ben Frain
Comment 2 2025-11-11 23:50:15 PST
(In reply to Simon Fraser (smfr) from comment #1) > Are you just talking about the dimming caused by > > &::backdrop { > background-color: rgb(0 0 0 / 10%); > } > > > or something more? More. If you look on Safari esp. on ios, more noticeable if a web app page because the ‘forehead’ and ‘chin’ change colour as the popover shows
Simon Fraser (smfr)
Comment 3 2025-11-12 14:52:21 PST
Right, the dimming overlay doesn't cover the forehead and chin, which is really a Safari UI design issue.
Ben Frain
Comment 4 2025-11-12 15:00:02 PST
(In reply to Simon Fraser (smfr) from comment #3) > Right, the dimming overlay doesn't cover the forehead and chin, which is > really a Safari UI design issue. Well it’s actually worse than that. Not only doesn’t the overlay/backdrop cover the forehead/chin — the forehead and chin change colour to be the same color as the background of the fixed element, not the background of the body
Radar WebKit Bug Importer
Comment 5 2025-11-12 16:05:26 PST
Wenson Hsieh
Comment 6 2025-11-12 21:48:25 PST
This is fixed after https://commits.webkit.org/301911@main *** This bug has been marked as a duplicate of bug 300965 ***
Note You need to log in before you can comment on or make changes to this bug.