#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:
- 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.
Change History (3)
comment:1 Changed 8 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
comment:2 Changed 8 years ago by
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.