mootools-meio-autocomplete icon indicating copy to clipboard operation
mootools-meio-autocomplete copied to clipboard

Added auto-select of focussed option on blur & list.shouldNotBlur only IE

Open hhermsen opened this issue 12 years ago • 1 comments

See commits for explanation

Known 'bugs':

  • When leaving the input-field before delay expires, auto-select will not select a thing since no request has been send (the possible 'valueField' will not be changes however). Maybe introduce a request fire at onBlur if autoSelect is on? This will make sure that if only one option is available it will always be selected, no matter what delay.
  • In IE when first draging the scrollbar of the list and then clicking an option will not put the focus back in the input-field. This bug was present before as well. Not present in other browsers.

Builded files still need to be build.

hhermsen avatar Dec 15 '12 13:12 hhermsen

I didnt forget this pull request. I'm currently trying to add more specs to the lib before doing this. Also, do you think that we could replace the Browser.ie check for a feature detection?

fabiomcosta avatar Dec 19 '12 06:12 fabiomcosta