{"action":"created","issue":{"url":"https://api.github.com/repos/NervJS/taro/issues/4413","repository_url":"https://api.github.com/repos/NervJS/taro","labels_url":"https://api.github.com/repos/NervJS/taro/issues/4413/labels{/name}","comments_url":"https://api.github.com/repos/NervJS/taro/issues/4413/comments","events_url":"https://api.github.com/repos/NervJS/taro/issues/4413/events","html_url":"https://github.com/NervJS/taro/issues/4413","id":490099956,"node_id":"MDU6SXNzdWU0OTAwOTk5NTY=","number":4413,"title":"在ios真机下ScrollView不能时时触发onScroll和onTouchMove","user":{"login":"leafchao","id":36804605,"node_id":"MDQ6VXNlcjM2ODA0NjA1","avatar_url":"https://avatars3.githubusercontent.com/u/36804605?v=4","gravatar_id":"","url":"https://api.github.com/users/leafchao","html_url":"https://github.com/leafchao","followers_url":"https://api.github.com/users/leafchao/followers","following_url":"https://api.github.com/users/leafchao/following{/other_user}","gists_url":"https://api.github.com/users/leafchao/gists{/gist_id}","starred_url":"https://api.github.com/users/leafchao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leafchao/subscriptions","organizations_url":"https://api.github.com/users/leafchao/orgs","repos_url":"https://api.github.com/users/leafchao/repos","events_url":"https://api.github.com/users/leafchao/events{/privacy}","received_events_url":"https://api.github.com/users/leafchao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2019-09-06T02:46:35Z","updated_at":"2019-09-06T03:39:16Z","closed_at":null,"author_association":"NONE","body":"**问题描述**\r\n在ios真机下ScrollView不能时时触发onScroll和onTouchMove，而是在释放滑动后触发\r\n\r\n**复现步骤**\r\n1、在页面内使用ScrllView。并使用onScroll和onTouchMove、onTouchStart、onTouchEnd方法，并在方法中打印e。\r\n2、在ios真机上演示。滑动ScrollView。没有在控制台打印相应内容。释放滑动后，控制台疯狂打印。\r\n\r\n```js\r\n\r\n <ScrollView\r\n          className='HWScroll'\r\n          style={dargStyle}\r\n          onTouchMove={touchmove.bind(isLoginObj)}\r\n          onTouchEnd={touchEnd.bind(isLoginObj)}\r\n          onTouchStart={touchStart.bind(isLoginObj)}\r\n          onScrollToUpper={ScrollToUpper.bind(isLoginObj)}\r\n          upperThreshold={0}\r\n          onScrollToLower={ScrollToLower.bind(isLoginObj)}\r\n          lowerThreshold={100}\r\n          onScroll={_onScroll.bind(isLoginObj)}\r\n          scrollY={scrollY}\r\n          scrollWithAnimation\r\n        >\r\n<View style={{height: `200px`,width: `100px`}}>11111111111111111111</View>\r\n                      <View style={{height: `200px`,width: `100px`}}>22222222222222222222</View>\r\n                      <View style={{height: `200px`,width: `100px`}}>33333333333333333333</View>\r\n                      <View style={{height: `200px`,width: `100px`}}>44444444444444444444</View>\r\n                      <View style={{height: `200px`,width: `100px`}}>55555555555555555555</View>\r\n                      <View style={{height: `200px`,width: `100px`}}>66666666666666666666</View>\r\n                      <View style={{height: `200px`,width: `100px`}}>77777777777777777777</View>\r\n                      <View style={{height: `200px`,width: `100px`}}>88888888888888888888</View>\r\n        </ScrollView>\r\n\r\n\r\n\r\n\r\nfunction touchStart(e) {\r\n  this.setStart_p(e.touches[0])\r\n}\r\n\r\nfunction _onScroll(e) {\r\n  console.log(e, '33333----------------------')\r\n}\r\nfunction touchmove(e) {\r\n  console.log(e, '22222----------------------')\r\n}\r\nfunction touchEnd(e) {}\r\n```\r\n\r\n**期望行为**\r\n能试试监听滑动位置。\r\n\r\n**系统信息**\r\nTaro CLI 1.3.17 environment info:\r\n    System:\r\n      OS: macOS High Sierra 10.13.6\r\n      Shell: 5.3 - /bin/zsh\r\n    Binaries:\r\n      Node: 12.9.1 - ~/.nvm/versions/node/v12.9.1/bin/node\r\n      Yarn: 1.17.3 - ~/.nvm/versions/node/v12.9.1/bin/yarn\r\n      npm: 6.10.2 - ~/.nvm/versions/node/v12.9.1/bin/npm\r\n    npmPackages:\r\n      @tarojs/async-await: 1.3.17 => 1.3.17 \r\n      @tarojs/cli: 1.3.17 => 1.3.17 \r\n      @tarojs/components: 1.3.17 => 1.3.17 \r\n      @tarojs/plugin-babel: 1.3.17 => 1.3.17 \r\n      @tarojs/plugin-csso: 1.3.17 => 1.3.17 \r\n      @tarojs/plugin-sass: 1.3.17 => 1.3.17 \r\n      @tarojs/plugin-uglifyjs: 1.3.17 => 1.3.17 \r\n      @tarojs/redux: 1.3.17 => 1.3.17 \r\n      @tarojs/redux-h5: 1.3.17 => 1.3.17 \r\n      @tarojs/router: 1.3.17 => 1.3.17 \r\n      @tarojs/taro: 1.3.17 => 1.3.17 \r\n      @tarojs/taro-alipay: 1.3.17 => 1.3.17 \r\n      @tarojs/taro-h5: 1.3.17 => 1.3.17 \r\n      @tarojs/taro-swan: 1.3.17 => 1.3.17 \r\n      @tarojs/taro-tt: 1.3.17 => 1.3.17 \r\n      @tarojs/taro-weapp: 1.3.17 => 1.3.17 \r\n      @tarojs/webpack-runner: 1.3.17 => 1.3.17 \r\n      eslint-config-taro: 1.3.17 => 1.3.17 \r\n      eslint-plugin-taro: 1.3.17 => 1.3.17 \r\n      nerv-devtools: ^1.4.4 => 1.4.4 \r\n      nervjs: ^1.4.4 => 1.4.4 \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/NervJS/taro/issues/comments/528694664","html_url":"https://github.com/NervJS/taro/issues/4413#issuecomment-528694664","issue_url":"https://api.github.com/repos/NervJS/taro/issues/4413","id":528694664,"node_id":"MDEyOklzc3VlQ29tbWVudDUyODY5NDY2NA==","user":{"login":"leafchao","id":36804605,"node_id":"MDQ6VXNlcjM2ODA0NjA1","avatar_url":"https://avatars3.githubusercontent.com/u/36804605?v=4","gravatar_id":"","url":"https://api.github.com/users/leafchao","html_url":"https://github.com/leafchao","followers_url":"https://api.github.com/users/leafchao/followers","following_url":"https://api.github.com/users/leafchao/following{/other_user}","gists_url":"https://api.github.com/users/leafchao/gists{/gist_id}","starred_url":"https://api.github.com/users/leafchao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leafchao/subscriptions","organizations_url":"https://api.github.com/users/leafchao/orgs","repos_url":"https://api.github.com/users/leafchao/repos","events_url":"https://api.github.com/users/leafchao/events{/privacy}","received_events_url":"https://api.github.com/users/leafchao/received_events","type":"User","site_admin":false},"created_at":"2019-09-06T03:39:16Z","updated_at":"2019-09-06T03:39:16Z","author_association":"NONE","body":"![image](https://user-images.githubusercontent.com/36804605/64399406-ee1e1280-d09a-11e9-84c5-55c0f4b03b8a.png)\r\n@jinjinjin0731 "}}
{"actor":{"display_login":"leafchao"}}