sanity-io / sanity

Sanity Studio – Rapidly configure content workspaces powered by structured content
https://www.sanity.io
MIT License
5.33k stars 430 forks source link

Safari TypeError on Login, Works in Chrome, #4362

Open LixinDeng opened 1 year ago

LixinDeng commented 1 year ago

Upon trying to login to studio I receive the following error from Safari

TypeError: undefined is not an object (evaluating 'o.borderBoxSize[0]')
(anonymous function) — sanity-69bcc60c.js:91:540126

Running

macos 12.0.1 safari Version 15.1 (17612.2.9.1.20) ── @sanity/cli@3.8.3 ├── @sanity/eslint-config-studio@2.0.1 ├── @sanity/vision@3.8.0 ├── @types/react@18.0.31 ├── @types/styled-components@5.1.26 ├── eslint@8.37.0 ├── file-saver@2.0.5 ├── lodash@4.17.21 ├── node-fetch@3.3.1 ├── prettier@2.8.7 ├── react-dom@18.2.0 ├── react-is@18.2.0 ├── react@18.2.0 ├── sanity@3.8.3 ├── styled-components@5.3.9 └── typescript@4.9.5

But it runs in Safari version 16.1, and Chrome

mmxdr commented 1 year ago

getting the same error in Safari in production, Chrome is fine mac os x 10.14.6 sanity client 3.11.5