I have a standard list of options <select multiple>...</select> on the page that scrolls. When scrolling through a document, especially with a trackpad, the page stops when the cursor is over the <select> element.
I suspect that due to the multiple attribute, the element controls the pointer so that it can scroll through the list of options. However, I purposefully show all available options, so I would like to somehow prevent the scrolling behavior.
I noticed that -webkit-appearance: listbox; used for multiple choice, whereas for one choice it is a menulist . I tried playing with the pointer-events CSS attribute, but this makes the list of options not selectable.
Any suggestions besides converting to switches?
Update Thanks to btevfik, I now notice that the problem is directly related to the form having a fixed height with scroll overflow.
Is there a way to prevent this behavior when the content is full?
Forked Fidddle: http://jsfiddle.net/tv8ZT/4/
source share