var isTouch = 'ontouchstart' in document.documentElement;I don't think it's possible toake it scroll. We mentioned that elsewhere today iirc. The solution is to avoid restraining height but I haven't got time to work on the select box right now.
As for tripping up you mean having it cut off on the right yeah? It's also another thing I always forget to fix. It's easy enough, I just need to reduce the left margin by the same amount of pixels.
$dd[0].addEventListener('touchmove', function (e)
{
scrollTo(startPos - e.touches[0].pageY + iTouch);
e.preventDefault();
});
$dd[0].addEventListener('touchstart', function (e)
{
iTouch = e.touches[0].pageY;
startPos = parseInt($thumb.css('top') || 0);
}); $items = $dd.children().not('.optgroup');
$dd[0].addEventListener('touchend', function(e)
{
$items.mousedown(clickSBItem);
});
$dd[0].addEventListener('touchmove', function(e)
{
scrollTo(startPos - e.touches[0].pageY + iTouch);
e.preventDefault();
});
$dd[0].addEventListener('touchstart', function(e)
{
iTouch = e.touches[0].pageY;
startPos = parseInt($thumb.css('top') || 0);
$items.unbind('mousedown');
});