| Page 1 of 1 | [ 7 posts ] |
|
Hi Everyone,
I have problem of autocomplete List with scrollbar. I have given height and width to container with overflow property. Now if container height is greater then define height then scrollbar is coming becuase of overflow property. But when i try to scroll down using scrollbar then autocomplete list is vanishes becuase now focus is removed from the input box. This is again roadblock for my application, So please anyone can suggest me asap. |
Alberto SantiniYUI Contributor
|
Hello Mona.
The attribute "scrollIntoView: true" should do the job. Otherwise I misunderstood the issue and it would be better to provide a snippet reproducing the case. Hope that helps, IceBox P.S.: See also viewtopic.php?f=92&t=9318&p=30099 |
|
Hello Alberto,
You misunderstood the issue. When i drag scroll bar and drop it at that time my autocomplete list is vanishes becuase now the focus is on scrollbar. |
|
Mona, what browser and OS are you using?
I'm looking into this and finding that in most browsers, clicking and dragging the scrollbar works fine, but the list disappears if you release the click when the mouse is outside the list area. Is this the same thing you're seeing? |
|
Yes, the same one list disappears after scrolling.
Machine XP and Browser : IE8 |
|
Should be fixed by this commit, which will go into YUI 3.5.0: https://github.com/rgrove/yui3/commit/f ... a88119cea6
In the meantime, you can add the following code to your page after you load the AutoComplete module but before you create an AutoComplete instance, and it should fix the issue: aclist-scroll-fix.jsClick here to see the revision history on this Gist. |
|
Thanks Ryan !!!!
|
| Page 1 of 1 | [ 7 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group