[
https://issues.apache.org/jira/browse/WEEX-299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16456031#comment-16456031
]
quanyun wei commented on WEEX-299:
----------------------------------
[~cxfeng] Hi, it's Android. I also have two doubts:
# There an error in the [weex
document|https://weex.incubator.apache.org/wiki/gestures.html] about
shouldStopPropagation property of touch, it may be stopPropagation?
# After changing shouldStopPropagation to stopPropagation, it seems to work,
but at the first time, the parent div also response the touch event. Here is
the latest [demo|http://dotwe.org/vue/e03984d688351b9fd985b8c291804d49].
> Touch event will transmit to next layer
> ---------------------------------------
>
> Key: WEEX-299
> URL: https://issues.apache.org/jira/browse/WEEX-299
> Project: Weex
> Issue Type: Bug
> Reporter: quanyun wei
> Assignee: Adam Feng
> Priority: Critical
>
> This is the test demo in
> [dotwe|[http://dotwe.org/vue/d269c46eabb5da4bda6c8ac91a11c464]|http://dotwe.org/vue/d269c46eabb5da4bda6c8ac91a11c464],]
> when touch the text, the div will also response the touch event.
> {code:java}
> //代码占位符
> <div class="wrapper" @touchstart="touchstart">
> <text style="font-size:100px;
> border-width:2px;width:600px;height:600px;top:40px;left:40px"
> ontouchcancel='ontouchcancel' ontouchend="ontouchend"
> @touchstart="ontouchstart" @touchmove="ontouchmove" @touchend="ontouchend"
> @shouldStopPropagation="shouldStopPropagation"
> >{{forceValue}}</text>
> </div>
> {code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)