Skip to content

[v3-2-test] Fix per-option button rendering for 4 options (#64453)#64494

Draft
github-actions[bot] wants to merge 1 commit intov3-2-testfrom
backport-a48d8a5-v3-2-test
Draft

[v3-2-test] Fix per-option button rendering for 4 options (#64453)#64494
github-actions[bot] wants to merge 1 commit intov3-2-testfrom
backport-a48d8a5-v3-2-test

Conversation

@github-actions
Copy link
Copy Markdown

The condition `options.length < 4` caused exactly 4 options to render
nothing — shouldRenderOptionButton was false but no fallback UI was
triggered either. Changed to `options.length <= 4` so 4 options render
as buttons.

Fixes #64413

  • add ci fixes

(cherry picked from commit a48d8a5)

Co-authored-by: Shrividya Hegde 5312302+Shrividya@users.noreply.github.com
Co-authored-by: Rahul Vats 43964496+vatsrahul1001@users.noreply.github.com

The condition \`options.length < 4\` caused exactly 4 options to render
nothing — shouldRenderOptionButton was false but no fallback UI was
triggered either. Changed to \`options.length <= 4\` so 4 options render
as buttons.

Fixes #64413

* add ci fixes

---------
(cherry picked from commit a48d8a5)

Co-authored-by: Shrividya Hegde <5312302+Shrividya@users.noreply.github.com>
Co-authored-by: Rahul Vats <43964496+vatsrahul1001@users.noreply.github.com>
@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant