iScroll won't let items be clicked

前端 未结 9 2100
长情又很酷
长情又很酷 2021-02-07 05:41

I am using iScroll4 and it\'s working great!

This are the functions I use to init, refresh and end iScroll:

function iniciarIscroll(){
    /*En ie7 no lo         


        
相关标签:
9条回答
  • When I first discovered iScroll, I thought it was the solution to many of my problems. Then this issue bit me big time. While trying to find a workaround, I came up with this pull request.

    There is a note on the pull request that another, better, solution has been found though I'm not sure which pull request is/was supposed to fix the issue. I'll see if I can get more detailed info from the author of that note.

    Update: The relevant pull request can be found here. I haven't had a chance to test it yet (I hope to confirm Android support later today.)

    0 讨论(0)
  • comment out

    position:absolute;
    

    at #pageWrapper in styles.css

    In my case, this solved the above unclickable issue.

    0 讨论(0)
  • 2021-02-07 06:32

    Try this

    myScroll = new IScroll('#wrapper', { click: true });
    
    0 讨论(0)
提交回复
热议问题