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: |
Description
This bug was introduced between 1.10.4 and 1.11.0. See JSBin's here:
- http://jsbin.com/sagagizete/2/edit?html,output (version with 1.11.0)
- http://jsbin.com/dasafedaro/2/edit?html,output (version with 1.10.4)
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 comment:1
resolution: | → notabug |
---|---|
status: | new → closed |
Changed November 14, 2014 08:38PM UTC by 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: http://imgur.com/WXjJWc4
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.