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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
On Safari 16.4 and 16.5, displaying a page that uses
::placeholdercauses 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
::placeholderselector is displayed.It has been reported that using
currentColorwithin the CSScolor-mix()function on Safari 16.4/16.5 triggers this crash.The issue originates from the reset CSS, where the
::placeholderstyle 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
::placeholderstyle as follows:Beta Was this translation helpful? Give feedback.
All reactions