Skip to main content

Search and Top Navigation

#8309 closed bug (duplicate)

Opened May 09, 2012 07:41PM UTC

Closed May 09, 2012 07:46PM UTC

Last modified May 09, 2012 07:47PM UTC

Autocomplete showing once only in Chrome

Reported by: rahal Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.autocomplete Version: 1.8.20
Keywords: Cc:
Blocked by: Blocking:
Description

I have a simple autocomplete that works correctly in FF and IE. In Chrome it works the first time text is typed into the 'City' input. If the text is changed or deleted the drop down does not appear.

$('#City').autocomplete({

source:CityName,

delay:400

});

If I do this so that the search triggers on focus it works correctly in FF and IE (dropdown opens on focus and search is performed). In Chrome the dropdown displays but an item cannot be selected.

$('#City').autocomplete({}).focus(

function(){

$(this).autocomplete('search');

});

The "source" is created dynamically before the autofocus is created but for testing I am using this:

var CityName=[

'Koh Samui, Thailand',

'Krabi, Thailand',

'Phuket, Thailand'];

Attachments (0)
Change History (2)

Changed May 09, 2012 07:46PM UTC by scottgonzalez comment:1

resolution: → duplicate
status: newclosed

Changed May 09, 2012 07:47PM UTC by scottgonzalez comment:2

Duplicate of #8308.