vicb/bsmSelect — pull request #22 by laMarciana (2012-01-19 18:37:45+00:00)
Title: Fix #21

Ok, I tell you what I did finally.

As we told, the ideal was to just point at sortable lists, but there was the problem than applying the `scroll: auto` to `.bsmListSortable` made appear the y axis scroll bar. I studied the css and realized that it was due to the `-1px` margin in list items. So I realized that if we apply `padding-bottom: 1px` to `.bsmListSortable` the scroll bar disappeared. So no problem, we can point just at sortable lists.

But the class of sortable list it's not always `.bsmListSortable`, as you can modify that with the `listSortableClass` option, so anyway the changes have to be made in the js.

So finally I have changed the js and added the style `overflow: auto` and `padding-bottom: 1px` to the sortable list, but only when the `` element has the css properties `overflow`, `overflow-x` or `overflow-y` set to `auto` or `scroll` (these are the cases where, as far as I know, the issue arise). That way in the other cases we don't have the problem with the ugly scroll bars.