{"action":"created","issue":{"url":"https://api.github.com/repos/CosmicMind/Material/issues/568","repository_url":"https://api.github.com/repos/CosmicMind/Material","labels_url":"https://api.github.com/repos/CosmicMind/Material/issues/568/labels{/name}","comments_url":"https://api.github.com/repos/CosmicMind/Material/issues/568/comments","events_url":"https://api.github.com/repos/CosmicMind/Material/issues/568/events","html_url":"https://github.com/CosmicMind/Material/issues/568","id":185449948,"number":568,"title":"TextField looks drastically different after Swift rewrite","user":{"login":"reidmain","id":535202,"avatar_url":"https://avatars.githubusercontent.com/u/535202?v=3","gravatar_id":"","url":"https://api.github.com/users/reidmain","html_url":"https://github.com/reidmain","followers_url":"https://api.github.com/users/reidmain/followers","following_url":"https://api.github.com/users/reidmain/following{/other_user}","gists_url":"https://api.github.com/users/reidmain/gists{/gist_id}","starred_url":"https://api.github.com/users/reidmain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reidmain/subscriptions","organizations_url":"https://api.github.com/users/reidmain/orgs","repos_url":"https://api.github.com/users/reidmain/repos","events_url":"https://api.github.com/users/reidmain/events{/privacy}","received_events_url":"https://api.github.com/users/reidmain/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CosmicMind/Material/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":{"login":"danieldahan","id":9982123,"avatar_url":"https://avatars.githubusercontent.com/u/9982123?v=3","gravatar_id":"","url":"https://api.github.com/users/danieldahan","html_url":"https://github.com/danieldahan","followers_url":"https://api.github.com/users/danieldahan/followers","following_url":"https://api.github.com/users/danieldahan/following{/other_user}","gists_url":"https://api.github.com/users/danieldahan/gists{/gist_id}","starred_url":"https://api.github.com/users/danieldahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieldahan/subscriptions","organizations_url":"https://api.github.com/users/danieldahan/orgs","repos_url":"https://api.github.com/users/danieldahan/repos","events_url":"https://api.github.com/users/danieldahan/events{/privacy}","received_events_url":"https://api.github.com/users/danieldahan/received_events","type":"User","site_admin":false},"assignees":[{"login":"danieldahan","id":9982123,"avatar_url":"https://avatars.githubusercontent.com/u/9982123?v=3","gravatar_id":"","url":"https://api.github.com/users/danieldahan","html_url":"https://github.com/danieldahan","followers_url":"https://api.github.com/users/danieldahan/followers","following_url":"https://api.github.com/users/danieldahan/following{/other_user}","gists_url":"https://api.github.com/users/danieldahan/gists{/gist_id}","starred_url":"https://api.github.com/users/danieldahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieldahan/subscriptions","organizations_url":"https://api.github.com/users/danieldahan/orgs","repos_url":"https://api.github.com/users/danieldahan/repos","events_url":"https://api.github.com/users/danieldahan/events{/privacy}","received_events_url":"https://api.github.com/users/danieldahan/received_events","type":"User","site_admin":false}],"milestone":null,"comments":22,"created_at":"2016-10-26T16:50:26Z","updated_at":"2016-10-26T19:04:20Z","closed_at":null,"body":"I am in the process of updating our app to use Swift 3 and Material is one of the dependencies I've had to update. I am using release 2.2.5.\r\n\r\nThere are three big issues I am seeing:\r\n\r\n1) Placeholder text does not appear until some text is entered into the text field.\r\n\r\n2) placeholderActiveColor is being ignored. The color of the placeholder text does not change if the text field becomes the first responder.\r\n\r\n3) The placeholder label now appears to be in a different position. We use snapshot tests to ensure our UI does not change accidentally and all of our uses of Material's TextField seem to have the placeholder label shift up by about 20 pixels.\r\n\r\nI am currently using Xcode 8.1 GM and building against the iOS 10 SDK.\r\n\r\nI will continue to investigate to try and figure out what the issue could be. These seem like core components of the TextField so I have to imagine it isn't behaving like this for everyone but looking at our code we are not doing anything unique with our text fields."},"comment":{"url":"https://api.github.com/repos/CosmicMind/Material/issues/comments/256446147","html_url":"https://github.com/CosmicMind/Material/issues/568#issuecomment-256446147","issue_url":"https://api.github.com/repos/CosmicMind/Material/issues/568","id":256446147,"user":{"login":"reidmain","id":535202,"avatar_url":"https://avatars.githubusercontent.com/u/535202?v=3","gravatar_id":"","url":"https://api.github.com/users/reidmain","html_url":"https://github.com/reidmain","followers_url":"https://api.github.com/users/reidmain/followers","following_url":"https://api.github.com/users/reidmain/following{/other_user}","gists_url":"https://api.github.com/users/reidmain/gists{/gist_id}","starred_url":"https://api.github.com/users/reidmain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reidmain/subscriptions","organizations_url":"https://api.github.com/users/reidmain/orgs","repos_url":"https://api.github.com/users/reidmain/repos","events_url":"https://api.github.com/users/reidmain/events{/privacy}","received_events_url":"https://api.github.com/users/reidmain/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T19:04:20Z","updated_at":"2016-10-26T19:04:20Z","body":"Actually @danieldahan could you confirm something for me? I would expect `placeholderNormalColor` to be the color of the placeholder label when the text field is not the first responder. I would then expect `placeholderActiveColor` to be the color of the placeholder label when the text field becomes the first responder. Currently it looks like `placeholderActiveColor` just corresponds to the color of the karat that appears when the text field is first responder."}}
{"actor":{"display_login":"reidmain"}}