HealthCatalyst / Fabric.Cashmere

Health Catalyst’s comprehensive design system.
http://cashmere.healthcatalyst.net
Apache License 2.0
66 stars 76 forks source link

Navbar links clipping instead of jumping into more menu #2225

Open corykon opened 1 year ago

corykon commented 1 year ago

When an app is loaded in incognito or cache is cleared, you can get in a state where links are clipped instead of jumping into the more menu. The reason is that the calculation is done before the appIcon image is loaded. There's really no reliable way to tell when the image is loaded.

image

Proposed solution: Add an input parameter for raw SVG, which avoids the race condition of the image loading.

Not-so-good possible solutions:

@waldnercharles reported seeing this in a vitalware app. I've seen it sporadically in PopInsights