@dolphinweex/weex-vue-render 0.2.95 → 0.2.96

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1571,8 +1571,9 @@ function touchstartHandler(event) {
1571
1571
  startTouch: touchRecord,
1572
1572
  startTime: Date.now(),
1573
1573
  status: 'tapping',
1574
- element: event.srcElement || event.target,
1575
- pressingHandler: setTimeout(function (element, touch) {
1574
+ element: document.elementFromPoint(touch.clientX, touch.clientY) || (event.srcElement || event.target),
1575
+ };
1576
+ gesture.pressingHandler = setTimeout(function (element, touch) {
1576
1577
  return function () {
1577
1578
  if (gesture.status === 'tapping') {
1578
1579
  gesture.status = 'pressing';
@@ -1589,8 +1590,7 @@ function touchstartHandler(event) {
1589
1590
  clearTimeout(gesture.pressingHandler);
1590
1591
  gesture.pressingHandler = null;
1591
1592
  }
1592
- }(event.srcElement || event.target, event.changedTouches[i]), 500)
1593
- };
1593
+ }(event.srcElement || event.target, event.changedTouches[i]), 500);
1594
1594
  gestures[touch.identifier] = gesture;
1595
1595
  }
1596
1596
 
package/package.json CHANGED
@@ -49,5 +49,5 @@
49
49
  "type": "git",
50
50
  "url": "git+ssh://git@github.com/weexteam/weex-vue-render.git"
51
51
  },
52
- "version": "0.2.95"
52
+ "version": "0.2.96"
53
53
  }