This repository was archived by the owner on Oct 2, 2019. It is now read-only.
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
Tab out of select field #116
Closed
Description
This is a bug with #92.
Steps
- Click to open field - so it shows the input field for searching.
- Press TAB
- ui-select is still active field.
Problem
Step 3 should be that the next tabbable input should be focussed.
Fix
I think the fix for this is to do with the tabindex
attribute. Currently we have 2 inputs, the tabindex="-1"
input used for searching (search input) and the other one we use for detecting tab order (tab input) has class .ui-select-offscreen
.
The solution I think is as follows:
- Click to open field - Triggers a focus for the 'search input' field.
- The 'search input' field has it's tabindex attribute set to that of the 'tab input'
- The 'tab input' field should have it's tabindex attribute set to -1.
4 On 'search input' blur (item selected/tab out etc) return the tabindex to what they originally were.
Metadata
Metadata
Assignees
Labels
No labels