Autocomplete selecting an element when clicking in scrollbar

I have a probleme with jquery.ui.autocomplete 1.8 rc2 in IE7 or IE8 with the following CSS (inside jquery.ui.autocomplete.css) : .ui-menu { list-style:none; padding: 2px; margin: 0;display:block; height:200px; overflow:scroll; } I'm using the demo from the project called : `demos\autocomplete\remote-jsonp.html` It's working perfect with firefox but with IE7 or 8, each time I click on the scroll bar to see the end of the list, it selects an element instead of scrolling down. Do you please have a solution to have a fixed height with `jquery.ui.autocomplete` and a scroll bar working with IE ?
UPDATE : if I comment everything after the .bind("blur.autocomplete", function( event ) ... in jquery.ui.autocomplete.js then it's working but clicking out doesn't close the menu anymore of course....But this behavior is better for the user.

以上就是Autocomplete selecting an element when clicking in scrollbar的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » jQuery 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准