Skip to content

fix(ui5-tokenizer): correct focus behavior on backspace#13221

Merged
ivoplashkov merged 4 commits intomainfrom
tokenizer-backspace-focus-issue
Mar 9, 2026
Merged

fix(ui5-tokenizer): correct focus behavior on backspace#13221
ivoplashkov merged 4 commits intomainfrom
tokenizer-backspace-focus-issue

Conversation

@ivoplashkov
Copy link
Contributor

The fix prevents the _onfocusout handler from resetting the item navigation state (_itemNav._currentIndex) and forcedTabIndex while a token deletion is in progress, ensuring that focus correctly moves to the previous token after deletion.

FIXES: #13181

@ui5-webcomponents-bot
Copy link
Collaborator

ui5-webcomponents-bot commented Mar 9, 2026

🧹 Preview deployment cleaned up: https://pr-13221--ui5-webcomponents.netlify.app

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 9, 2026 07:07 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 9, 2026 07:50 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 9, 2026 09:55 Inactive
@ivoplashkov ivoplashkov merged commit 48692b5 into main Mar 9, 2026
21 of 22 checks passed
@ivoplashkov ivoplashkov deleted the tokenizer-backspace-focus-issue branch March 9, 2026 15:28
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 9, 2026 15:28 Inactive
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.

[MultiInput]: Focus is lost after Token Removal

3 participants