#6038 closed enhancement (fixed)
Autocomplete: Allow default behaviour on enter when menu is open but inactive
Reported by: | Jörn Zaefferer | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.8.6 |
Component: | ui.autocomplete | Version: | 1.8.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
To reproduce: Type something to open the autocomplete, then hit enter, without selecting something. The default behaviour, eg. submitting a search form should happen. Instead the default behaviour is prevented.
Change History (6)
comment:1 Changed 13 years ago by
comment:2 follow-up: 3 Changed 13 years ago by
Confirmed a bug in version 1.8.5. I was previously using version 1.8.2 when it was last working correctly.
I worked around this by removing the following from jquery-ui-1.8.5.min.js:
case d.ENTER:case d.NUMPAD_ENTER:a.menu.element.is(":visible")&&c.preventDefault();
comment:3 Changed 13 years ago by
Replying to roncli:
Confirmed a bug in version 1.8.5. I was previously using version 1.8.2 when it was last working correctly.
Note that this is not a bug. The current behavior is intentional but we're planning on changing it.
comment:5 Changed 12 years ago by
Milestone: | 1.9 → 1.8.6 |
---|
comment:6 Changed 12 years ago by
Autocomplete: Only prevent the default action for enter when a menu item is active. Fixes #6038 - Autocomplete: Allow default behaviour on enter when menu is open but inactive.
Thanks Ján Suchal.
Changeset: adcafce7a24156c503061eb354867e41064fd89f
Hello!
First i want to thank you for this great plugin. I really love it and its very comfortable to use. The only thing which bothers me is this enhancement (dont want to call it bug). Is there any fixe available?
Best regards!