Skip to content

Comments

fix(select): optimize single selection rendering#1566

Open
spliffone wants to merge 1 commit intomainfrom
fix/select-one-item-visible
Open

fix(select): optimize single selection rendering#1566
spliffone wants to merge 1 commit intomainfrom
fix/select-one-item-visible

Conversation

@spliffone
Copy link
Member

@spliffone spliffone commented Feb 24, 2026

Describe in detail what your merge request does and why. Add relevant
screenshots and reference related issues via Closes #XY or Related to #XY.


@spliffone spliffone requested review from a team as code owners February 24, 2026 14:30
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

The pull request optimizes the rendering of single selections in the si-select component by introducing an @let declaration and an @if block to handle the single selection case separately. This change aims to improve performance by avoiding unnecessary iteration when only one option is selected. The changes appear correct and align with the stated objective of optimizing rendering.

@spliffone spliffone force-pushed the fix/select-one-item-visible branch from 993de0f to 8868645 Compare February 24, 2026 15:03
@github-actions
Copy link

Code Coverage

@github-actions
Copy link

@spliffone spliffone added this to the 49.x milestone Feb 25, 2026
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.

1 participant