Skip to content

Commit

Permalink
fix(event): fix touch event: not prevent default
Browse files Browse the repository at this point in the history
(refer to [关于passive event listener的一次踩坑](https://juejin.im/post/5ad804c1f265da504547fe68))
  • Loading branch information
yyc-git committed May 9, 2019
1 parent ffb862a commit 05422f1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ let _convertTouchDomEventToTouchEvent =
let execEventHandle = (eventName, touchDomEvent, {eventRecord} as state) => {
let {touchDomEventDataArrMap} = eventRecord;

HandlePointDomEventMainService.preventDefault(
/* HandlePointDomEventMainService.preventDefault(
touchDomEvent |> touchDomEventToPointDomEvent,
);
); */

switch (
touchDomEventDataArrMap
Expand Down

0 comments on commit 05422f1

Please sign in to comment.