Workday / canvas-kit

Development kits to implement UI following the Workday Canvas Design System (https://canvas.workday.com/). See our Component Storybook -
https://workday.github.io/canvas-kit/
Apache License 2.0
302 stars 221 forks source link

Update Overflow measure in the collection system to account for `gap`. #3020

Closed mannycarrera4 closed 3 weeks ago

mannycarrera4 commented 3 weeks ago

🐛 Bug Report

Our overflow detection wasn't accurately accounting for list items that were within a flex container that spaced the items out with the css gap property. We should update our calculations to account for this. These change should go into our collection system. This might cause some small snap shot tests to be off by a few pixels.