Skip to content

fix(ui5-multi-combobox): fix token deletion when click event is lost due to re-render#13530

Open
Vonahz wants to merge 1 commit into
mainfrom
multicombobox_bug
Open

fix(ui5-multi-combobox): fix token deletion when click event is lost due to re-render#13530
Vonahz wants to merge 1 commit into
mainfrom
multicombobox_bug

Conversation

@Vonahz
Copy link
Copy Markdown
Contributor

@Vonahz Vonahz commented May 15, 2026

Fixes: #13514

Token deletion would fail intermittently when clicking the delete icon
because the mousedown event set toBeDeleted=true, which could trigger
a re-render that replaced the delete icon DOM element before the click
event fired, causing the click event to be lost and preventing deletion.

This was most easily reproduced when tokens were collapsed/overflown,
but could happen in various scenarios where DOM updates occurred between
mousedown and click events.

@ui5-webcomponents-bot
Copy link
Copy Markdown
Collaborator

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.

[MultiComboBox|Tokenizer]: Component fails to remove item from selection list and collapses instead

2 participants