{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/7340","repository_url":"https://api.github.com/repos/driftyco/ionic","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/7340/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/7340/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/7340/events","html_url":"https://github.com/driftyco/ionic/issues/7340","id":165919336,"number":7340,"title":"Scroll methods conflicts with user scroll gestures (edited)","user":{"login":"thomas1511","id":538769,"avatar_url":"https://avatars.githubusercontent.com/u/538769?v=3","gravatar_id":"","url":"https://api.github.com/users/thomas1511","html_url":"https://github.com/thomas1511","followers_url":"https://api.github.com/users/thomas1511/followers","following_url":"https://api.github.com/users/thomas1511/following{/other_user}","gists_url":"https://api.github.com/users/thomas1511/gists{/gist_id}","starred_url":"https://api.github.com/users/thomas1511/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomas1511/subscriptions","organizations_url":"https://api.github.com/users/thomas1511/orgs","repos_url":"https://api.github.com/users/thomas1511/repos","events_url":"https://api.github.com/users/thomas1511/events{/privacy}","received_events_url":"https://api.github.com/users/thomas1511/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driftyco/ionic/labels/platform:ios","name":"platform:ios","color":"0052cc"},{"url":"https://api.github.com/repos/driftyco/ionic/labels/v2","name":"v2","color":"313744"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-16T08:18:00Z","updated_at":"2016-07-20T07:17:45Z","closed_at":null,"body":"#### Short description of the problem:\r\nIf a user scrolls(and releases the screen so the scroll slows down), and the method: \"scrollToBottom / scrollToTop\" gets called.  the screen will flicker(the original gesture conflicts with the scrollToBottom()) . I made an example, buts it's only on IOS \r\n\r\n#### What behavior are you expecting?\r\nThe current scroll action should end, and only the scrollToBottom action should scroll.\r\n\r\n**Steps to reproduce:**\r\n1. I made a simple plnkr example; but it's only visible in ios:\r\nhttp://plnkr.co/edit/VXSsuiuShhbqTNMksSzo?p=preview\r\n2.  Scroll, (release), and while the scroll slows down, press the scrolldown buttun (chat icon)\r\n3. you'll see that the current event will try to finish over the scrollToBottom method\r\n\r\n**Which Ionic Version?** 1.x or 2.x\r\nionic2 beta.9 / beta.10\r\n\r\n#### Plunker that shows an example of your issue\r\n(old example)\r\nhttp://plnkr.co/edit/VXSsuiuShhbqTNMksSzo?p=preview\r\n(new example)\r\nI created a blank ionic project, and created a github repo:\r\nhttps://github.com/thomas1511/ionicScrollProblem\r\n\r\n#### Code which conflicts:\r\n    this.content.scrollToBottom(300);\r\n\r\n\r\n#### Edit: Added video to show problem\r\nhttps://youtu.be/3gF1En3xdl0\r\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic/issues/comments/233862951","html_url":"https://github.com/driftyco/ionic/issues/7340#issuecomment-233862951","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/7340","id":233862951,"user":{"login":"thomas1511","id":538769,"avatar_url":"https://avatars.githubusercontent.com/u/538769?v=3","gravatar_id":"","url":"https://api.github.com/users/thomas1511","html_url":"https://github.com/thomas1511","followers_url":"https://api.github.com/users/thomas1511/followers","following_url":"https://api.github.com/users/thomas1511/following{/other_user}","gists_url":"https://api.github.com/users/thomas1511/gists{/gist_id}","starred_url":"https://api.github.com/users/thomas1511/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomas1511/subscriptions","organizations_url":"https://api.github.com/users/thomas1511/orgs","repos_url":"https://api.github.com/users/thomas1511/repos","events_url":"https://api.github.com/users/thomas1511/events{/privacy}","received_events_url":"https://api.github.com/users/thomas1511/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T07:17:45Z","updated_at":"2016-07-20T07:17:45Z","body":"The following will fix this problem. Is it possible to add this?\r\n\r\n`\r\nthis.content.getScrollElement().style.overflow = 'hidden';\r\n        this.content.scrollToBottom(); //300ms animation speed\r\n        setTimeout( (d) => {\r\n            this.content.getScrollElement().style.overflow = '';\r\n        }, 100);\r\n`"}}
{"actor":{"display_login":"thomas1511"}}