-
-
Notifications
You must be signed in to change notification settings - Fork 188
Open
Labels
Description
Describe the Problem
Screenshots on svelte.dev show up completely white on iOS Safari 18.0.1. Interestingly, everything works fine in dev mode (pnpm dev --host
(???)) .
Describe the proposed solution
Could try changing --safari-fix
to translateZ(0)
. However, I can't verify if this works since the dev environment doesn't reproduce the issue and the repo doesn't let me pnpm build && pnpm preview
the site.
Reproduction
- Visit svelte.dev on iOS Safari
- Current CSS:
.screenshots {
/* ... */
filter: grayscale();
-webkit-transform: var(--safari-fix); /* = translate3d(0,0,.01) */
}
System Info
- Device: iPhone 11 Pro
- OS: iOS 18.0.1
- Browser: Safari
- URL: svelte.dev