JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums ComboBox minor cosmetic bug in comboBox multiple selection tokens

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #100948
    edwardsmarkf
    Member

    this is very minor, but somewhat confusing:
    https://www.htmlelements.com/demos/combobox/multiple-selection/  enter codepen:

    1. select token
    2. click token again to unselect it
    3. notice token remains highlighted

    and:

    1. select token
    2. delete token by clicking the “X”
    3. open drop-down menu
    4. notice the deleted token is still highlighted.

    is there any way we can disable the highlighting after token is removed?
    i am thinking since the user manually deleted it

    #100949
    admin
    Keymaster

    Hi,
    This looks like a bug, because the selection and focus visual appearance of an item is the same. The item looks like selected, but actually it is only focused. It is not part of the selectedIndexes collection anymore. Only items which appeal in the INPUT field are selected. The focused item is the item from which the keyboard navigation starts.
    Best Regards,
    Peter Stoev
    Smart HTML Elements Team
    https://www.htmlelements.com/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.