HealthCatalyst / Fabric.Cashmere

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

Initializing tight on file explorer doesn't work #2035

Closed andrew-frueh closed 1 year ago

andrew-frueh commented 1 year ago

If hc-file-explorer is in a hc-form-field and you set the [tight] property on the file explorer initially, it won't have an effect. If you set it dynamically (after load) as in the example on the Cashmere site, it works fine. The issue is that hc-form-field, which file-explorer extends, has a parent tight property that overrides the init value on file-explorer.

So the workaround is to set tight on the form-field instead, but it's a confusing bug.

health-catalyst commented 1 year ago

:tada: This issue has been resolved in version 13.6.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: