简体   繁体   中英

Mouse Scrolling and other button clicks is not working on iPhone

I am working with a website which needs fully responsive for the devices. I am testing it iPhone 5. Mouse wheel scroll and buttons clicks is not working when I am testing with iPhone. But everything is working fine when I am testing with online iPhone simulators.

NB Actually, I can't post code here. Because, I can't guess what is the problem there.

Your website may be preventing the default action for touch events which would prevent scrolling. Although I can not say more without seeing the actual code, here is a possible solution to your dilemma: How to unbind a listener that is calling event.preventDefault() (using jQuery)? . Essentially you need to restore the default actions that occur after touching the screen.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM