Skip to content

ComboBox: wrong behaviour on BACKSPACE #2321

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

Closed
ilhan007 opened this issue Oct 8, 2020 · 0 comments · Fixed by #2325
Closed

ComboBox: wrong behaviour on BACKSPACE #2321

ilhan007 opened this issue Oct 8, 2020 · 0 comments · Fixed by #2325
Assignees

Comments

@ilhan007
Copy link
Member

ilhan007 commented Oct 8, 2020

Describe the bug
When you have a "selected" item (the text in the input is matching one of the items)
and start deleting the text with BACKSPACE:

(1) The first BACKSPACE is not deleting anything, just opens the picker
(2) When you delete the last letter of the whole text,
it starts all over, the full text is restored, when you expect to have an empty input field

ezgif com-gif-maker

To reproduce
Steps to reproduce the behavior:

  1. Go to http://localhost:8080/test-resources/pages/ComboBox.html
  2. Use the first ComboBox with text "Bulgaria"
  3. Press BACKSPACE - no letter is deleted
  4. Continue pressing BACKSPACE to delete the text
  5. When you delete the last letter, it starts all over, the full text of "Bulgaria" is restored

Expected behavior
You should be able to delete the text in the ComboBox with BACKSPACE

Context

  • UI5 Web Components version: master
  • OS/Platform: {...} MACOS
  • Browser (if relevant): {...} Chrome

Affected components (if known)
ui5-combobox

@ilhan007 ilhan007 self-assigned this Oct 8, 2020
ilhan007 added a commit that referenced this issue Oct 8, 2020
…" (#2325)

Reverts #2253 as the change causes degradation in the component behavior.

FIXES #2321
ilhan007 added a commit that referenced this issue Oct 17, 2020
…" (#2325)

Reverts #2253 as the change causes degradation in the component behavior.

FIXES #2321
ilhan007 added a commit that referenced this issue Nov 11, 2020
…" (#2325)

Reverts #2253 as the change causes degradation in the component behavior.

FIXES #2321
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant