Replies: 1 comment
-
For anyone experiencing this, I recommend using the workaround above. We'll consider tweaking this in the future |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
On Safari 16.4 and 16.5, displaying a page that uses
::placeholder
causes the WebView to crash.This issue is triggered by Panda CSS's reset CSS, which uses
color-mix(in srgb, currentColor, transparent)
.Link to Reproduction
https://play.panda-css.com/OP_wI8H1lF
Steps to reproduce
JS Framework
No response
Panda CSS Version
0.53.0
Browser
Safari 16.4, 16.5
Operating System
Additional Information
On Safari 16.4 and 16.5, a crash occurs in WebView when a page utilizing the
::placeholder
selector is displayed.It has been reported that using
currentColor
within the CSScolor-mix()
function on Safari 16.4/16.5 triggers this crash.The issue originates from the reset CSS, where the
::placeholder
style internally usescolor-mix(in srgb, currentColor, transparent)
.panda/packages/generator/src/artifacts/css/reset-css.ts
Lines 70 to 74 in 465eb9c
As a workaround, define a custom
::placeholder
style as follows:Beta Was this translation helpful? Give feedback.
All reactions