Skip to content

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

Merged
potiuk merged 1 commit intov3-2-testfrom
backport-a48d8a5-v3-2-test
Apr 1, 2026
Merged

[v3-2-test] Fix per-option button rendering for 4 options (#64453)#64494
potiuk merged 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
@bbovenzi bbovenzi marked this pull request as ready for review March 31, 2026 18:51
@potiuk potiuk added the ready for maintainer review Set after triaging when all criteria pass. label Apr 1, 2026
@potiuk potiuk merged commit b04e0ed into v3-2-test Apr 1, 2026
79 checks passed
@potiuk potiuk deleted the backport-a48d8a5-v3-2-test branch April 1, 2026 15:38
@potiuk
Copy link
Copy Markdown
Member

potiuk commented Apr 1, 2026

cc: @vatsrahul1001 -> I merged it to v3-2-test - as I saw it like a small fix, but likely you might not want to include it in 3.2.0 -> let me know and I will revert it.

Copy link
Copy Markdown
Member

@pierrejeambrun pierrejeambrun left a comment

Choose a reason for hiding this comment

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

Yes it's safe to include 👍

@potiuk
Copy link
Copy Markdown
Member

potiuk commented Apr 1, 2026

Trying to get some order in the PR madness

vatsrahul1001 added a commit that referenced this pull request Apr 8, 2026
…64494)

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>
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. ready for maintainer review Set after triaging when all criteria pass.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants