[
https://issues.apache.org/jira/browse/WEEX-299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16456084#comment-16456084
]
codefurture commented on WEEX-299:
----------------------------------
stopPropagation means the touch event should stop propagation on response
chain. when it return true, the parent will not receive touch event. if it
return false, the parent will receive touch event.
> 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)