List loses divider lines when consumer includes Tailwind #9058
Labels
4 - verified
Issues that have been released and confirmed resolved.
ArcGIS Field Apps
Issues logged by ArcGIS Field Apps team members.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
calcite-components
Issues specific to the @esri/calcite-components package.
estimate - 5
A few days of work, definitely requires updates to tests.
p - medium
Issue is non core or affecting less that 60% of people using the library
Milestone
Check existing issues
Actual Behavior
The divider lines between list-items in a list are lost when used in an app that also uses of Tailwind.
Expected Behavior
The divider lines are not impacted by whether the consumer uses Tailwind.
Reproduction Sample
https://codepen.io/nwhittaker-esri/pen/rNbpqXw
Reproduction Steps
Reproduction Version
2.7.1
Relevant Info
The root cause appears to stem from whether or not the
--tw-shadow
variable is defined.One workaround is to set the variable to
revert-layer
but this doesn't have great browser support yet. Another workaround is to set the list-item'sbox-shadow
style manually.Regression?
No response
Priority impact
p3 - want for upcoming milestone
Impact
Impact is an inconsistent experience for consumers and hard-coded workarounds that add maintenance risk.
Calcite package
Esri team
ArcGIS Field Apps
The text was updated successfully, but these errors were encountered: