How to get the scrollbar work within the select2 only?

2,311 views
Skip to first unread message

Common Sense

unread,
Mar 22, 2014, 8:57:31 PM3/22/14
to sel...@googlegroups.com
When you scroll down to the last option it continues to scrolls down the page. Why is that?


Is there a fix?

Please help.

Thanks.

Kevin Brown

unread,
Mar 23, 2014, 9:41:05 AM3/23/14
to sel...@googlegroups.com
I can't reproduce this issue on any pages that I use Select2, as well as in the documentation, but I am seeing the same issue as you in the fiddle.

This appears to be because of the jquery.mousewheel plugin, which is used by Select2 to kill the scroll events in these cases:

https://github.com/brandonaaron/jquery-mousewheel
http://jsfiddle.net/WLhd3/1/
-- 
Kevin Brown
--
You received this message because you are subscribed to the Google Groups "select2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to select2+u...@googlegroups.com.
To post to this group, send email to sel...@googlegroups.com.
Visit this group at http://groups.google.com/group/select2.
For more options, visit https://groups.google.com/d/optout.

Common Sense

unread,
Mar 23, 2014, 10:25:03 AM3/23/14
to sel...@googlegroups.com
Awesome! Thanks for your help.

Common Sense

unread,
Mar 23, 2014, 11:15:52 AM3/23/14
to sel...@googlegroups.com
It works perfectly in Safari, but not in IE10. Any Idea why?


On Sunday, March 23, 2014 9:41:05 AM UTC-4, Kevin Brown wrote:
Reply all
Reply to author
Forward
0 new messages