[ 
https://issues.apache.org/jira/browse/WEEX-485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16536581#comment-16536581
 ] 

billy commented on WEEX-485:
----------------------------

@[~homker] 这个问题我已经提了PR修复了  : 
[https://github.com/apache/incubator-weex/pull/1301] ,已经merge到了master分支: 
[https://github.com/apache/incubator-weex/commit/8ce1f1ee80d263d65fda91b8b5f54cdecc3ab01c]

原因是android实现的slider对ViewPager禁用手势滑动不彻底

 

> change the index of Slider works bad when set its 'scrollable' as 'false'
> -------------------------------------------------------------------------
>
>                 Key: WEEX-485
>                 URL: https://issues.apache.org/jira/browse/WEEX-485
>             Project: Weex
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 0.18
>            Reporter: billy
>            Assignee: codefurture
>            Priority: Major
>
> slider设置scrollable为false后,在Android平台上,通过点击导航tab切换index时slider页面切换正常,但如果用户在slider中进行横向滑动操作,再点击导航tab切换index会显示异常:
> index从2切换到3时表现为切换不成功页面未切换,
> index从2切换到0时表现为页面显示空白,
> 再从0切换到2时,恢复正常。
> 如果用户再进行横向滑动操作,又会出现相同的情况
> --------------------------- 新增测试页面 
> ---------------------------------------------
> 测试页面: [http://dotwe.org/vue/df7ad923bb42464ebc5c2df388cbbcf5]
> 复现步骤:
>  1. 用android版playground扫描二维码打开页面
>  2. 点击red
>  3. 点击yellow
>  4. 横向手势滑动
>  5. 点击red(复现成功:没有切换到red)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to