-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: decouple overflow logic to create independent overflow utility #6632
base: main
Are you sure you want to change the base?
refactor: decouple overflow logic to create independent overflow utility #6632
Conversation
✅ Deploy Preview for carbon-for-ibm-products ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for ibm-products-web-components ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6632 +/- ##
==========================================
+ Coverage 80.70% 80.85% +0.15%
==========================================
Files 397 398 +1
Lines 12923 12910 -13
Branches 4286 4278 -8
==========================================
+ Hits 10430 10439 +9
+ Misses 2493 2471 -22
|
@makafsal tests should be passing now and ready for review |
@makafsal tests actually passing now |
Closes #6601
The biggest change here being the removal of unnecessary usage of
useState
to track visible and hidden items. This also implements a change in the logic that checks for margin, so additional offset props are no longer necessary.