Skip to content

Hitting Tab won't jump to next field (regression in 0.12.3) #1164

Closed
@sturchyn

Description

@sturchyn

Hi,

the behaviour on KEY_TAB is broken in the version 0.12.3.

Here examples to reproduce it:

selectize 0.12.2 (works)
https://jsfiddle.net/sturchyn/b961qfjk/

selectize 0.12.3 (doesn't work)
https://jsfiddle.net/sturchyn/vyggj6oz/

(Given a Selectize with option selectOnTab:true)

Steps to reproduce:

  1. Set focus on the select box.
  2. Select the option 'B'.
  3. Press the key 'TAB'.

Expected result:

  • The option 'B' is selected.
  • The select box is closed.
  • The cursor jumps to the next input field.

Actual result (with 0.12.3):

  • The option 'B' is selected.
  • The select is open.
  • The focus is on the select box.

Many thanks for Selectize :-)

Best regards
Stanislav

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions