ftlabs / fastclick

Polyfill to remove click delays on browsers with touch UIs
MIT License
18.66k stars 3.22k forks source link

Repair IOS11.4 that can't be clicked and unable to scroll BUG #561

Open mingge8888 opened 6 years ago

mingge8888 commented 6 years ago

Iam china my name MingGe

Repair IOS11.4 that can't be clicked and unable to scroll BUG

https://github.com/mingge8888/fastclick

mingge8888 commented 6 years ago

IOS11.4 updated two days ago. Fastclick.js caused the page to be unable to click and unable to scroll.

The main performance is to put out the screen and will not be able to click after a while. This BUG has been confirmed. There was this problem when IOS11.3 was originally used, and then someone on GitHub repaired it. The problem came to IOS11.4 again, and more serious, resulting in pages unable to click or roll.

Repair as follows: this plugin is my first IOS11.4 repair version. Https://github.com/mingge8888/fastclick

mingge8888 commented 6 years ago

IOS11.4前两天更新了,fastclick.js造成页面无法点击 ,无法滚动,

主要表现为熄屏后,过一会就无法点击,无法滚动,这个BUG我已经确定, 本来IOS11.3的时候就有这个问题,后来github上面有人修复了, 到IOS11.4的问题又来了,而且更严重了,造成页面无法点击,也无法滚动

修复如下这个插件由本人首发IOS11.4修复版 https://github.com/mingge8888/fastclick

tabtang commented 6 years ago

event.timeStamp 都改成new Date().getTime() 了,还是会偶现BUG

mingge8888 commented 6 years ago

我已经修复好了,怎么你还发在问呢,其实与new Date().getTime()无关,是event.timeStamp的问题

gr510071555 commented 6 years ago

你修复的,能通过npm 安装?

Risingson commented 6 years ago

this fix made my matomo (former piwik) analytics send false page reloads. the fix from lasselaakkonen via https://github.com/ftlabs/fastclick/issues/549 does not cause this.