Skip to content

fix(CompositeBar): preserve item.onItemClick for collapsed popup items#590

Merged
DarkGenius merged 1 commit intov4from
fix/collapsed-menu-item-click
Mar 17, 2026
Merged

fix(CompositeBar): preserve item.onItemClick for collapsed popup items#590
DarkGenius merged 1 commit intov4from
fix/collapsed-menu-item-click

Conversation

@DarkGenius
Copy link
Collaborator

When menu items overflow into the "More" popup, clicking them did nothing because onItemClickByIndex replaced item.onItemClick with the collapse button's handler (undefined). Now the item's own onItemClick is preserved when collapsed=true.

Closes #589

#589)

When menu items overflow into the "More" popup, clicking them did nothing
because onItemClickByIndex replaced item.onItemClick with the collapse
button's handler (undefined). Now the item's own onItemClick is preserved
when collapsed=true.

Closes #589
@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@gravity-ui-bot
Copy link
Contributor

Playwright Test Component is ready.

@DarkGenius DarkGenius merged commit 2792d7e into v4 Mar 17, 2026
3 checks passed
@DarkGenius DarkGenius deleted the fix/collapsed-menu-item-click branch March 17, 2026 13:58
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.

3 participants