{"action":"created","issue":{"url":"https://api.github.com/repos/airyland/vux/issues/380","repository_url":"https://api.github.com/repos/airyland/vux","labels_url":"https://api.github.com/repos/airyland/vux/issues/380/labels{/name}","comments_url":"https://api.github.com/repos/airyland/vux/issues/380/comments","events_url":"https://api.github.com/repos/airyland/vux/issues/380/events","html_url":"https://github.com/airyland/vux/issues/380","id":165615209,"number":380,"title":"popup-picker提示scrolling is in progress","user":{"login":"qiguyu","id":1291735,"avatar_url":"https://avatars.githubusercontent.com/u/1291735?v=3","gravatar_id":"","url":"https://api.github.com/users/qiguyu","html_url":"https://github.com/qiguyu","followers_url":"https://api.github.com/users/qiguyu/followers","following_url":"https://api.github.com/users/qiguyu/following{/other_user}","gists_url":"https://api.github.com/users/qiguyu/gists{/gist_id}","starred_url":"https://api.github.com/users/qiguyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiguyu/subscriptions","organizations_url":"https://api.github.com/users/qiguyu/orgs","repos_url":"https://api.github.com/users/qiguyu/repos","events_url":"https://api.github.com/users/qiguyu/events{/privacy}","received_events_url":"https://api.github.com/users/qiguyu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/airyland/vux/labels/need%20repro","name":"need repro","color":"b60205"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-14T17:27:26Z","updated_at":"2016-07-15T06:30:27Z","closed_at":null,"body":"<!--为了节省大家时间，请阅读清楚下面要求再提issue-->\r\n\r\n<!--1.从npm安装麻烦说明版本号。不说明将被直接关闭-->\r\n<!--2.代码没有正确格式化将被直接关闭-->\r\n<!--3.提组件需求但没有给出描述，截图，交互方式等具体信息的将被直接关闭-->\r\n<!--4.Android相关问题麻烦说明品牌机型及浏览器方便重现，如 小米 2S 微信webview-->\r\n\r\n### Version 0.1.2\r\n\r\n### popup-picker无法选择\r\n\r\n> 使用chrome devtool，console中有提示：Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in progress and cannot be interrupted. 是我少装了什么模块吗？未安装due-router\r\n\r\n### Your Codes \r\n\r\n``` html\r\n<template>\r\n  <div>\r\n    <group title=\"single column\">\r\n      <popup-picker :title=\"title1\" :data=\"list1\" :value.sync=\"value1\" @on-show=\"onShow\" @on-hide=\"onHide\"></popup-picker>\r\n    </group>\r\n    <br>\r\n    <div class=\"picker-buttons\">\r\n      <x-button type=\"primary\" @click=\"changeList10\">重新赋值列表</x-button>\r\n      <x-button type=\"primary\" @click=\"changeList11\">push方式更改列表</x-button>\r\n    </div>\r\n    <group title=\"double columns\">\r\n      <popup-picker :title=\"title2\" :data=\"list2\" :value.sync=\"value2\"></popup-picker>\r\n    </group>\r\n    <br>\r\n\r\n    <group title=\"chained columns\">\r\n      <popup-picker :title=\"title3\" :data=\"list3\" :columns=\"3\" :value.sync=\"value3\"></popup-picker>\r\n      <popup-picker :title=\"title4\" :data=\"list3\" :columns=\"3\" :value.sync=\"value4\" show-name></popup-picker>\r\n    </group>\r\n\r\n    <br>\r\n    <div class=\"picker-buttons\">\r\n      <x-button type=\"primary\" @click=\"changeList21\">push方式更改列表</x-button>\r\n    </div>\r\n\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport { PopupPicker, Group, Picker, XButton } from 'vux'\r\nexport default {\r\n  components: {\r\n    PopupPicker,\r\n    Group,\r\n    Picker,\r\n    XButton\r\n  },\r\n  methods: {\r\n    changeList10 () {\r\n      this.list1 = [['小米1', 'iPhone1', '华为1', '情怀1', '三星1', '其他1', '不告诉你1']]\r\n    },\r\n    changeList11 () {\r\n      this.list1[0].push('我是push条目')\r\n    },\r\n    changeList20 () {\r\n    },\r\n    changeList21 () {\r\n      this.list3.push({\r\n        name: '美国002_007',\r\n        value: '0007',\r\n        parent: 'usa002'\r\n      })\r\n    },\r\n    onShow () {\r\n      console.log('on show')\r\n    },\r\n    onHide (type) {\r\n      console.log('on hide', type)\r\n    }\r\n  },\r\n  data () {\r\n    return {\r\n      title1: '手机机型',\r\n      title2: '详细机型',\r\n      title3: '联动显示值',\r\n      title4: '联动显示文字',\r\n      list1: [['小米', 'iPhone', '华为', '情怀', '三星', '其他', '不告诉你']],\r\n      list2: [['小米', 'iPhone', '华为', '情怀', '三星', '其他', '不告诉你'], ['小米1', 'iPhone2', '华为3', '情怀4', '三星5', '其他6', '不告诉你7']],\r\n      list3: [{\r\n        name: '中国',\r\n        value: 'china',\r\n        parent: 0\r\n      }, {\r\n        name: '美国',\r\n        value: 'USA',\r\n        parent: 0\r\n      }, {\r\n        name: '广东',\r\n        value: 'china001',\r\n        parent: 'china'\r\n      }, {\r\n        name: '广西',\r\n        value: 'china002',\r\n        parent: 'china'\r\n      }, {\r\n        name: '美国001',\r\n        value: 'usa001',\r\n        parent: 'USA'\r\n      }, {\r\n        name: '美国002',\r\n        value: 'usa002',\r\n        parent: 'USA'\r\n      }, {\r\n        name: '广州',\r\n        value: 'gz',\r\n        parent: 'china001'\r\n      }, {\r\n        name: '深圳',\r\n        value: 'sz',\r\n        parent: 'china001'\r\n      }, {\r\n        name: '广西001',\r\n        value: 'gx001',\r\n        parent: 'china002'\r\n      }, {\r\n        name: '广西002',\r\n        value: 'gx002',\r\n        parent: 'china002'\r\n      }, {\r\n        name: '美国001_001',\r\n        value: '0003',\r\n        parent: 'usa001'\r\n      }, {\r\n        name: '美国001_002',\r\n        value: '0004',\r\n        parent: 'usa001'\r\n      }, {\r\n        name: '美国002_001',\r\n        value: '0005',\r\n        parent: 'usa002'\r\n      }, {\r\n        name: '美国002_002',\r\n        value: '0006',\r\n        parent: 'usa002'\r\n      }],\r\n      value1: ['iPhone'],\r\n      value2: ['iPhone', '华为3'],\r\n      value3: [],\r\n      value4: []\r\n    }\r\n  }\r\n}\r\n</script>\r\n<style>\r\n@import '~vux/dist/vux.css';\r\n</style>\r\n```\r\n\r\n### 使用vue-cli创建一个全新项目，将代码替换至App.vue，底部弹窗内无法改变选中。\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/airyland/vux/issues/comments/232870987","html_url":"https://github.com/airyland/vux/issues/380#issuecomment-232870987","issue_url":"https://api.github.com/repos/airyland/vux/issues/380","id":232870987,"user":{"login":"airyland","id":559179,"avatar_url":"https://avatars.githubusercontent.com/u/559179?v=3","gravatar_id":"","url":"https://api.github.com/users/airyland","html_url":"https://github.com/airyland","followers_url":"https://api.github.com/users/airyland/followers","following_url":"https://api.github.com/users/airyland/following{/other_user}","gists_url":"https://api.github.com/users/airyland/gists{/gist_id}","starred_url":"https://api.github.com/users/airyland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airyland/subscriptions","organizations_url":"https://api.github.com/users/airyland/orgs","repos_url":"https://api.github.com/users/airyland/repos","events_url":"https://api.github.com/users/airyland/events{/privacy}","received_events_url":"https://api.github.com/users/airyland/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T06:30:27Z","updated_at":"2016-07-15T06:30:27Z","body":"本地无法重现。可以加入bearychat发个完整的代码附件或者发我邮箱，不然没法处理。"}}
{"actor":{"display_login":"airyland"}}