Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@SpyZzey
Copy link
Member

@SpyZzey SpyZzey commented Jan 21, 2026

Description

Fixes a bug in custom rendering (in selectable-item) that was introduced in #4064.

Related links, issue #, if available: n/a

How has this been tested?

Manual testing

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@SpyZzey SpyZzey requested a review from a team as a code owner January 21, 2026 11:03
@SpyZzey SpyZzey requested review from a team, amanabiy and Copilot and removed request for a team January 21, 2026 11:03
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a padding bug for custom renderers in the selectable-item component that was introduced in #4064. The issue occurred when items with custom rendering were in selected or highlighted states.

Changes:

  • Removed the border-padding mixin that was incorrectly adjusting padding for selected and highlighted items
  • Removed padding overrides that were only applicable to default-styled content but were being applied globally

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link

codecov bot commented Jan 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.15%. Comparing base (75aed8b) to head (dfcb775).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4196   +/-   ##
=======================================
  Coverage   97.15%   97.15%           
=======================================
  Files         878      878           
  Lines       25726    25726           
  Branches     9302     9301    -1     
=======================================
  Hits        24995    24995           
- Misses        684      725   +41     
+ Partials       47        6   -41     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@SpyZzey SpyZzey added this pull request to the merge queue Jan 21, 2026
Merged via the queue into main with commit 7746a98 Jan 21, 2026
56 checks passed
@SpyZzey SpyZzey deleted the fix/padding-in-custom-render branch January 21, 2026 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants