Skip to main content

Search and Top Navigation

#10696 closed bug (notabug)

Opened November 11, 2014 08:24PM UTC

Closed November 12, 2014 01:59PM UTC

Last modified November 14, 2014 08:41PM UTC

Autocomplete Does Not Behave Correctly When in A Dialog Box

Reported by: kevjames3 Owned by:
Priority: minor Milestone: none
Component: ui.core Version: 1.11.0
Keywords: Cc:
Blocked by: Blocking:

This bug was introduced between 1.10.4 and 1.11.0. See JSBin's here:

Replicatable on Chrome, version 38.0.2125.111 m

In versions >= 1.11.0, if you place an autocomplete inside a dialog, the autocomplete menu will be hidden behind the dialog. You can see this by simply typing in the letter "o" into the text box.

Attachments (0)
Change History (3)

Changed November 12, 2014 01:59PM UTC by scottgonzalez comment:1

resolution: → notabug
status: newclosed

This is not a bug, you're explicitly telling the autocomplete to append to the body. You shouldn't be specifying appendTo in this situation.

Changed November 14, 2014 08:38PM UTC by kevjames3 comment:2

This is a bug still if you remove the appendTo "body" option. For example, follow these steps: type the letter 'o'. You should get 2 results, "one" and "two". By removing the "appendTo" option, the results are then being displayed inside the dialog, with the option "two" being hidden by the dialog window border.

See this link to see what I am talking about:

Changed November 14, 2014 08:41PM UTC by scottgonzalez comment:3

That's a completely separate issue, which is tracked in #10543.