picturepan2/spectre

Use of body font-family crashes desktop Safari dropdowns

Open

#613 opened on Oct 9, 2019

View on GitHub
 (2 comments) (0 reactions) (1 assignee)CSS (11,318 stars) (787 forks)batch import
bughelp wanted

Description

Using Spectre CSS, if you use a dropdown (.form-select) in desktop Safari MacOS, the browser will crash every time you try to open the drop down.

Here is a reproducible link, open in desktop Safari: https://jsfiddle.net/4L9zvcgr/

After hours of debugging I narrowed the issue down to the use of -apple-system, system-ui in the body font-family. Remove those 2 and it will open fine.

Here is a link without those 2 body font-family rules, which does not crash: https://jsfiddle.net/zchmf2qd/1/

Contributor guide