I'm having an issue with a scrolling unordered list in an HTML5 app on a touchscreen device. When a user scrolls and then releases their finger from the list, it clicks the element they used to scroll. Is there a way to modify the onclick behavior so that it only activates when the user actually clicks on an element instead of scrolling?
<ul class="search">
<a onclick="event()"><li>Name</li></a>
<a onclick="event()"><li>Name</li></a>
<a onclick="event()"><li>Name</li></a>
</ul>
Any assistance would be greatly appreciated as I haven't been able to locate any relevant documentation online.