#5991 closed bug (fixed)
Home and End keys trigger search
Reported by: | crussell52 | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.autocomplete | Version: | 1.8.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
This behavior can be seen on the remote data demo for autocomplete.
Reproduction:
- Type "sp" to get suggestions.
- Select item from list
- Input is populated with selection, cursor is at end of line.
- Press Home key
Result: A new search is executed.
Expected: Moving the cursor within the input should not trigger a new search.
A look at the keydown binding adding during _create() shows that the HOME and END key codes are not in the switch statement. These keydowns fall into the "default" case which triggers a search.
Change History (6)
comment:1 Changed 12 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 Changed 12 years ago by
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
actually it is NOT working.
this is how you can test it is not working: 1) http://jqueryui.com/demos/autocomplete/ 2) Type: act 3) Select: ActionScript 4) press: Home button
and you see it does a new search, opening the div under the input text
comment:3 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Not fixed in 1.8.2, but fixed on GitHub and will be in 1.8.5, see http://view.jqueryui.com/master/demos/autocomplete/default.html
comment:4 Changed 12 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Misunderstood the problem.
comment:5 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Fixed in dea2f8a7f.
This was fixed back in 1.8.2.