Skip to main content

Search and Top Navigation

#6953 closed bug (wontfix)

Opened February 07, 2011 09:16PM UTC

Closed February 07, 2011 10:05PM UTC

Autocomplete listbox on resize of browser window

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

The autocomplete listbox does not re-position itself on re-size of the browser window. This can be reproduced even on the jQueryUI autoComplete demo page:

http://jqueryui.com/demos/autocomplete/

Browsers: Can be reproduced on IE(8, did not test on 7) and FireFox-3.6.13

OS: Windows XP

jQuery UI autocomplete version: 1.8.1

Steps to reproduce:

1. Launch: http://jqueryui.com/demos/autocomplete/ page in either IE 8 or FireFox. Note that the browser window has to maximized or should be at the maximum size at this step.

2. Once, the page is loaded, in the tag field, enter 'j' and wait for autocomplete to display some options.

3. Once the options are displayed, DO NOT select any options and click on the 'restore down' button of the browser (the one on the top right corner of the browser beside the close button)

4. The window gets resized, but the autocomplete listbox still remains at its old position. It DOES NOT re-position itself to be displayed below the combobox.

NOTE: This happens only when the 'restore down' button is clicked. When we try to re-size the window manually by dragging and shrinking it with mouse, the listbox positions itself correctly beneath the combo-box.

Attachments (0)
Change History (1)

Changed February 07, 2011 10:05PM UTC by scottgonzalez comment:1

resolution: → wontfix
status: newclosed

This is an edge case that's not really worth dealing with. This can be avoided by closing the autocomplete on resize or appending the menu to a wrapper instead of the body (via the appendTo option).