Open USTCLX opened 5 years ago
I think FastClick.prototyp.onClick method has a bug. The targetElement has not been reassigned to event.target。 I think it should be like this
FastClick.prototype.onClick = function (event) { var permitted; this.targetElement = event.target; // here reassign this.targetElement if (this.trackingClick) { this.targetElement = null; this.trackingClick = false; return true; } .... }
This is a serious issue, I am experiencing it too. When will it be fixed?
Setting the class "needsclick" on the input[type="file"] does not work.
我也遇到了
I think FastClick.prototyp.onClick method has a bug. The targetElement has not been reassigned to event.target。 I think it should be like this