{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/2406","repository_url":"https://api.github.com/repos/NativeScript/NativeScript","labels_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/2406/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/2406/comments","events_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/2406/events","html_url":"https://github.com/NativeScript/NativeScript/issues/2406","id":163531121,"number":2406,"title":"DatePicker within a ScrollView does not render correctly","user":{"login":"mattgalvin","id":3188630,"avatar_url":"https://avatars.githubusercontent.com/u/3188630?v=3","gravatar_id":"","url":"https://api.github.com/users/mattgalvin","html_url":"https://github.com/mattgalvin","followers_url":"https://api.github.com/users/mattgalvin/followers","following_url":"https://api.github.com/users/mattgalvin/following{/other_user}","gists_url":"https://api.github.com/users/mattgalvin/gists{/gist_id}","starred_url":"https://api.github.com/users/mattgalvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattgalvin/subscriptions","organizations_url":"https://api.github.com/users/mattgalvin/orgs","repos_url":"https://api.github.com/users/mattgalvin/repos","events_url":"https://api.github.com/users/mattgalvin/events{/privacy}","received_events_url":"https://api.github.com/users/mattgalvin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"tsonevn","id":17448734,"avatar_url":"https://avatars.githubusercontent.com/u/17448734?v=3","gravatar_id":"","url":"https://api.github.com/users/tsonevn","html_url":"https://github.com/tsonevn","followers_url":"https://api.github.com/users/tsonevn/followers","following_url":"https://api.github.com/users/tsonevn/following{/other_user}","gists_url":"https://api.github.com/users/tsonevn/gists{/gist_id}","starred_url":"https://api.github.com/users/tsonevn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsonevn/subscriptions","organizations_url":"https://api.github.com/users/tsonevn/orgs","repos_url":"https://api.github.com/users/tsonevn/repos","events_url":"https://api.github.com/users/tsonevn/events{/privacy}","received_events_url":"https://api.github.com/users/tsonevn/received_events","type":"User","site_admin":false},"assignees":[{"login":"tsonevn","id":17448734,"avatar_url":"https://avatars.githubusercontent.com/u/17448734?v=3","gravatar_id":"","url":"https://api.github.com/users/tsonevn","html_url":"https://github.com/tsonevn","followers_url":"https://api.github.com/users/tsonevn/followers","following_url":"https://api.github.com/users/tsonevn/following{/other_user}","gists_url":"https://api.github.com/users/tsonevn/gists{/gist_id}","starred_url":"https://api.github.com/users/tsonevn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsonevn/subscriptions","organizations_url":"https://api.github.com/users/tsonevn/orgs","repos_url":"https://api.github.com/users/tsonevn/repos","events_url":"https://api.github.com/users/tsonevn/events{/privacy}","received_events_url":"https://api.github.com/users/tsonevn/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-07-02T18:47:31Z","updated_at":"2016-07-04T08:43:24Z","closed_at":"2016-07-04T08:43:24Z","body":"\r\n## Please, provide the details below:\r\n\r\n### Did you verify this is a real problem by searching [Stack Overflow]\r\nYes, one thread found with no solution (http://stackoverflow.com/questions/35316509/datepicker-and-listpicker-display-incorrectly)\r\n\r\n### Tell us about the problem\r\nDisplaying a DatePicker within a ScrollView causes the text to be offset. I have attached pictures showing the issue.\r\n\r\n### Which platform(s) does your issue occur on?\r\nAndroid, certain physical devices only. Problem does not happen on the emulator. Tested on a Galaxy S4, Galaxy S5, and a Moto X (2nd generation). The problem only happens on the S4 and S5 devices.\r\n\r\n### Please provide the following version numbers that your issue occurs with:\r\n- CLI: 2.1.0\r\nOther component versions it happens across multiple versions. This was tested using the demo application created by tns create demo --ng\r\n\r\n### Please tell us how to recreate the issue in as much detail as possible.\r\nI created a demo project using \"tns create demo --ng\". Replace the contents of app.component.html with the following:\r\n\r\n```\r\n<TabView>\r\n  <StackLayout *tabItem=\"{title: 'no scroll'}\">\r\n      <DatePicker></DatePicker>\r\n  </StackLayout>\r\n  <StackLayout *tabItem=\"{title: 'with scroll'}\">\r\n    <ScrollView>\r\n      <StackLayout>\r\n        <DatePicker></DatePicker>\r\n      </StackLayout>\r\n    </ScrollView>\r\n  </StackLayout>\r\n</TabView>\r\n```\r\n\r\nI tried completely removing all styles from app.css just to make sure nothing was changing default behavior but that did not change anything.\r\n\r\nThe \"no scroll\" tab displays correctly. The \"with scroll\" tab has the issue.\r\n\r\n![withscrollview](https://cloud.githubusercontent.com/assets/3188630/16541974/7b5cc892-4063-11e6-922a-640960252145.png)\r\n![noscrollview](https://cloud.githubusercontent.com/assets/3188630/16541973/7b5cd6e8-4063-11e6-8b55-36f084c9dc05.png)\r\n"},"comment":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/comments/230237321","html_url":"https://github.com/NativeScript/NativeScript/issues/2406#issuecomment-230237321","issue_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/2406","id":230237321,"user":{"login":"tsonevn","id":17448734,"avatar_url":"https://avatars.githubusercontent.com/u/17448734?v=3","gravatar_id":"","url":"https://api.github.com/users/tsonevn","html_url":"https://github.com/tsonevn","followers_url":"https://api.github.com/users/tsonevn/followers","following_url":"https://api.github.com/users/tsonevn/following{/other_user}","gists_url":"https://api.github.com/users/tsonevn/gists{/gist_id}","starred_url":"https://api.github.com/users/tsonevn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsonevn/subscriptions","organizations_url":"https://api.github.com/users/tsonevn/orgs","repos_url":"https://api.github.com/users/tsonevn/repos","events_url":"https://api.github.com/users/tsonevn/events{/privacy}","received_events_url":"https://api.github.com/users/tsonevn/received_events","type":"User","site_admin":false},"created_at":"2016-07-04T08:43:23Z","updated_at":"2016-07-04T08:43:23Z","body":"This issue was moved to NativeScript/nativescript-angular#324"}}
{"actor":{"display_login":"tsonevn"}}