-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Tab out of select field #116
Comments
yes, I did saw this problem too. I think that a solution could be to just set to disabled the focusser input when the the dropdown is open, that way tha TAB won't return to the control but to the next one (then we could activate it back after the dropdown is closed) |
Nice! I'll see if I can come up with something. |
In looking around the web it looks like we can't accurately test this - the browsers don't allow you to trigger the default behaviour of the 'tab' keypress meaning I can't test this without some really hacky tab simulation that I'm pretty sure won't test correctly anyway. |
Actually, ran into this: https://groups.google.com/forum/#!msg/phantomjs/OtLvfFDsy-o/WiIIcBh84rgJ |
Hi, I tried with using the latest ui-select, it seems like the behaviour is not fixed. |
@cheahkhing I just checked and it's broken (possible with all the changes when implementing muti select). Anyway it should be fix very soon with #286 |
Hi - this is still broken. Any updates? |
It seems like this still is broken on 18.0? |
Any news here. Still an issue |
Based on https://github.com/angular-ui/ui-select/issues/1544
|
This is a bug with #92.
Steps
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, thetabindex="-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:
4 On 'search input' blur (item selected/tab out etc) return the tabindex to what they originally were.
The text was updated successfully, but these errors were encountered: