Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#10696 closed bug (notabug)

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:

Description

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.

Change History (3)

comment:1 Changed 5 years ago by Scott González

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.

comment:2 Changed 5 years ago by kevjames3

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: http://imgur.com/WXjJWc4

comment:3 Changed 5 years ago by Scott González

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

Note: See TracTickets for help on using tickets.