Opened 3 years ago

Last modified 18 months ago

#15072 open bug

Autocomplete scrolling does not work in IE/Edge

Reported by: Backslider23 Owned by:
Priority: minor Milestone: none
Component: ui.autocomplete Version: 1.11.3
Keywords: Cc:
Blocked by: Blocking:

Description

The demo on this page http://jqueryui.com/autocomplete/#maxheight does not work for me in IE. I am having the same problem in my app. When I click the down arrow a couple times, it just ends up scrolling back to the top.

Change History (3)

comment:1 Changed 3 years ago by Scott González

Component: ui.coreui.autocomplete
Status: newopen
Summary: Autocomplete scrolling does not work in IEAutocomplete scrolling does not work in IE/Edge

Focus management in IE is notoriously painful. I'm not sure if this will actually get fixed.

comment:2 Changed 18 months ago by Andres Z

When I try to scroll using down arrow the list autofocus the first element and autoscroll to the top. http://jsbin.com/janazosama/edit?html,output

I found that if you comment this line:

this.activeMenu.scrollTop( scroll + offset );

at _scrollIntoView: function( item ) in jquery-ui.js

the autoscroll to the top disappear

Last edited 18 months ago by Ryan J Ollos (previous) (diff)

comment:3 in reply to:  1 Changed 18 months ago by Andres Z

Replying to Scott González:

Focus management in IE is notoriously painful. I'm not sure if this will actually get fixed.

It is not... I'm using jQueryUI 1.12.1 and still has this issue. I found how to fix it in the jquery-ui.js file but I can't use it in my project.

Note: See TracTickets for help on using tickets.