I have been playing around a bit more with my code and think I may have found out why the dropdown list is closing. I have managed to get the html code that is displayed in the dropdown.
in the above code is show the onClick I am thinking that this is closing the dropdown no matter where someone clicks in it, scroll bars or the actual option they want to select.
<div style="padding: 2px 0px 2px 0px;cursor:pointer;" onClick="setAddress('AMS - Amsterdam Schiphol','');"> AMS - Amsterdam Schiphol </div>
<div style="padding: 2px 0px 2px 0px;cursor:pointer;" onClick="setAddress('SPL - Schiphol, Amsterdam','');"> SPL - Schiphol, Amsterdam </div>
is it possible to have a onselect method so the viewer can still scroll to the one they want?