You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "billy (JIRA)" <ji...@apache.org> on 2018/07/04 13:31:00 UTC

[jira] [Updated] (WEEX-485) change the index of Slider works bad when set its 'scrollable' as 'false'

     [ https://issues.apache.org/jira/browse/WEEX-485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

billy updated WEEX-485:
-----------------------
    Description: 
slider设置scrollable为false后,在Android平台上,通过点击导航tab切换index时slider页面切换正常,但如果用户在slider中进行横向滑动操作,再点击导航tab切换index会显示异常:

index从2切换到3时表现为切换不成功页面未切换,

index从2切换到0时表现为页面显示空白,

再从0切换到2时,恢复正常。

如果用户再进行横向滑动操作,又会出现相同的情况

--------------------------- 新增测试页面 ---------------------------------------------

测试页面: [http://dotwe.org/vue/b0686d8f778f67d9bea443cda54f7775|http://dotwe.org/vue/df7ad923bb42464ebc5c2df388cbbcf5]

复现步骤:
 1. 用android版playground扫描二维码打开页面
 2. 点击red
 3. 点击yellow
 4. 横向手势滑动
 5. 点击red(复现成功:没有切换到red)

  was:
slider设置scrollable为false后,在Android平台上,通过点击导航tab切换index时slider页面切换正常,但如果用户在slider中进行横向滑动操作,再点击导航tab切换index会显示异常:

index从2切换到3时表现为切换不成功页面未切换,

index从2切换到0时表现为页面显示空白,

再从0切换到2时,恢复正常。

如果用户再进行横向滑动操作,又会出现相同的情况

--------------------------- 新增测试页面 ---------------------------------------------

测试页面: [http://dotwe.org/vue/b0686d8f778f67d9bea443cda54f7775]

复现步骤:
1. 用android版playground扫描二维码打开页面
2. 点击red
3. 点击yellow
4. 横向手势滑动
5. 点击red(复现成功:没有切换到red)


> 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/b0686d8f778f67d9bea443cda54f7775|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)