Skip to content

[Bug Report] V-autocomplete delete item with Backspace key is flawed #4940

Closed

Description

@Kleemer

Versions and Environment

Vuetify: 1.1.13

Steps to reproduce

Just select an option then try to remove it using Backspace.

Expected Behavior

The option should be deleted as soon as I click once.

Actual Behavior

I have to press 3 times the Backspace button.

Reproduction Link

https://codepen.io/Kleemer/pen/GXJxar


Additional Comments:

Adding the 'multiple' props shows a behaviour that could explains what is happening. In that case, pressing Backspace the first time select the element on the left of the caret, and a second press is needed to delete the element, maybe something like this is happening behind the scenes ?

Activity

  1. added
    T: bugFunctionality that does not work as intended/expected
    on Aug 23, 2018
  2. chewy94 commented on Aug 29, 2018

    @chewy94
    Contributor

    I am not able to reproduce on Chrome using the codepen provided. After selecting an item I press backspace and I immediately start removing letters from the selected item

  3. KaelWD commented on Aug 29, 2018

    @KaelWD
    Member
    1. Select an item
    2. Blur the field
    3. Focus the field
    4. Press backspace
    5. Blur the field

    Now try again but do step 4 three times

  4. changed the title [-]V-autocomplete delete item with Backspace key is flawed[/-] [+][Bug Report] V-autocomplete delete item with Backspace key is flawed[/+] on Dec 7, 2018
  5. Anima-t3d commented on Sep 3, 2019

    @Anima-t3d

    Issue still persists in v1.5.x, in v1.0.x using v-select this was not an issue.

  6. self-assigned this
    on May 5, 2020
  7. added
    wontfixThe issue is expected and will not be fixed
    on May 5, 2020
  8. johnleider commented on May 5, 2020

    @johnleider
    Member

    This is working as of v2.2.26.

    If you have any additional questions, please reach out to us in our Discord community.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

C: VAutocompleteT: bugFunctionality that does not work as intended/expectedwontfixThe issue is expected and will not be fixed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions