Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ui5-mulitiinput] Free input delete doesn't work properly #8905

Closed
1 task done
clemai opened this issue May 7, 2024 · 1 comment · Fixed by #8982
Closed
1 task done

[ui5-mulitiinput] Free input delete doesn't work properly #8905

clemai opened this issue May 7, 2024 · 1 comment · Fixed by #8982
Assignees
Labels
bug This issue is a bug in the code Medium Prio TOPIC RL

Comments

@clemai
Copy link

clemai commented May 7, 2024

Bug Description

Under specific circumstances it's not possible to delete the free text within the Multiinput component.

Affected Component

ui5-multiinput

Expected Behaviour

I would expect that I am always able to delete selected text via pressing the backspace key.

Isolated Example

https://sap.github.io/ui5-webcomponents/components/MultiInput/

Steps to Reproduce

  1. Type any text as free input
  2. Select the complete text via mouse or double click or 'CMD + A'.
  3. Press the backspace key.

The last token is focused, but text stays in the input. The issue only occurs when there is at least one token.

Log Output, Stack Trace or Screenshots

No response

Priority

Medium

UI5 Web Components Version

1.24.0

Browser

Chrome

Operating System

Mac

Additional Context

No response

Organization

SAP SIX Technologies

Declaration

  • I’m not disclosing any internal or sensitive information.
@clemai clemai added the bug This issue is a bug in the code label May 7, 2024
@clemai clemai changed the title Free input delete doesn't work properly [ui5-mulitiinput]: [ui5-mulitiinput] Free input delete doesn't work properly: May 7, 2024
@clemai clemai changed the title [ui5-mulitiinput] Free input delete doesn't work properly: [ui5-mulitiinput] Free input delete doesn't work properly May 7, 2024
@niyap niyap self-assigned this May 7, 2024
@niyap
Copy link
Contributor

niyap commented May 8, 2024

Hello @SAP/ui5-webcomponents-topic-rl,

When we have ui5-multi-input with tokens and text, if we select the text via Ctrl/Cmd + A and try to delete it via backspace - the text is not deleted but the focus is moved to the last token instead.
https://sap.github.io/ui5-webcomponents/components/MultiInput/ - the first sample is appropriate for testing.

Could you please look over?
Thank you in advance!

Kind Regards,
Niya

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug in the code Medium Prio TOPIC RL
Projects
Status: Completed
Development

Successfully merging a pull request may close this issue.

2 participants