How do you detect scrolling in a framework7's virtual-list? -
i prevent accidental clicks happening while scrolling virtual-list. preventing clicks can done returning false @ preroute function or set e.preventdefault().
however, detecting scrolling on framework7 not seems straightforward.
i have tried following methods detect scrolling:
use
window.onscroll = scrollfunction.listen scroll event. , attempt listen scroll event on document using
$$(document).on('scroll'), tried$$('.virtual-list).on('scroll'). no avail.
if out there, has solved issue, please let know. thank you!
Comments
Post a Comment