Skip to content

refactor(react-ui): simplify Accordion auto-open logic - #485

Merged
i-subham23 merged 2 commits into
mainfrom
sd/fix_accordion_close_issue
May 4, 2026
Merged

i-subham23 merged 2 commits into
mainfrom
sd/fix_accordion_close_issue

Conversation

@i-subham23

@i-subham23 i-subham23 commented May 2, 2026 •

Copy link
Copy Markdown
Contributor

Updated the Accordion component to streamline the auto-open functionality. Removed the previous content size tracking and replaced it with a simpler check that opens the newest item when a new item arrives during streaming. This enhances performance and reduces complexity in state management.

Screen.Recording.2026-05-02.at.5.58.47.PM.mov

Updated the Accordion component to streamline the auto-open functionality. Removed the previous content size tracking and replaced it with a simpler check that opens the newest item when a new item arrives during streaming. This enhances performance and reduces complexity in state management.
@i-subham23 i-subham23 self-assigned this May 3, 2026

@ankit-thesys ankit-thesys left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good

@i-subham23
i-subham23 merged commit 39abab4 into main May 4, 2026
1 check passed
@i-subham23
i-subham23 deleted the sd/fix_accordion_close_issue branch May 4, 2026 07:17
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