Ticket #6029 (closed bug: fixed)
Autocomplete: Custom item can be activated (and result in error) on PageUp/PageDown key click
| Reported by: | dziastinux | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.8.6 |
| Component: | ui.autocomplete | Version: | 1.8.4 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
The problem lies in unsafe functions:
- ui.menu.nextPage
- ui.menu.previousPage
There unsafe selectors are used (:first, :last) Autocomplete demo with categories is provided. If first menu item is category than these selectors will select non menu item and try to activate it resulting in error.
next and previous function do not have this error (as they use .ui-menu-item:first selector).
Change History
comment:1 Changed 3 years ago by scott.gonzalez
- Summary changed from Custum item can be activated (and result in error) on PageUp/PageDown key click to Autocomplete: Custom item can be activated (and result in error) on PageUp/PageDown key click
comment:2 Changed 3 years ago by scott.gonzalez
- Status changed from new to closed
- Resolution set to fixed
Fixed in dda7bcb.
comment:4 Changed 3 years ago by Scott González
Autocomplete (Menu): Only traverse through .ui-menu-item elements for paging. Fixes #6029 - Autocomplete: Custom item can be activated (and result in error) on PageUp/PageDown key click.
Changeset: dda7bcb6383ed0fee9dcd1ae5f0a6e1dcc160c6b
Note: See
TracTickets for help on using
tickets.

