Skip to content

[ui5-multi-input]: Token is created on Arrow Left when focus leaves the input and goes to the Tokenizer #13357

@nikoletavnv

Description

@nikoletavnv

Bug Description

When ui5-multi-input has already some tokens, the user writes a text in the input field and presses several times Arrow Left to focus the last token - a new token is created from the input text.
This is incorrect, because the focus is still in the ui5-multi-input ( on the tokenizer ) and the entered text should not be converted into a token.

Affected Component

No response

Expected Behaviour

No response

Isolated Example

No response

Steps to Reproduce

  1. Open https://ui5.github.io/webcomponents/components/MultiInput/
  2. Go to Add/Remove Tokens sample
  3. Write "A" and accept Argentina as a suggestion for a token to be created
  4. Write "z"
  5. Pres Arrow Left 2 times to focus the tokenizer
  6. Token "z" has been created

Expected behavior - token "z" should not be created when navigating with Arrow Left focuses the tokenizer

Log Output, Stack Trace or Screenshots

No response

Priority

Medium

UI5 Web Components Version

2

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

New Issues

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions