{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/5619","labels_url":"https://api.github.com/repos/facebook/react/issues/5619/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/5619/comments","events_url":"https://api.github.com/repos/facebook/react/issues/5619/events","html_url":"https://github.com/facebook/react/issues/5619","id":120779055,"number":5619,"title":"WebkitInputPlaceholder","user":{"login":"liesislukas","id":2733862,"avatar_url":"https://avatars.githubusercontent.com/u/2733862?v=3","gravatar_id":"","url":"https://api.github.com/users/liesislukas","html_url":"https://github.com/liesislukas","followers_url":"https://api.github.com/users/liesislukas/followers","following_url":"https://api.github.com/users/liesislukas/following{/other_user}","gists_url":"https://api.github.com/users/liesislukas/gists{/gist_id}","starred_url":"https://api.github.com/users/liesislukas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liesislukas/subscriptions","organizations_url":"https://api.github.com/users/liesislukas/orgs","repos_url":"https://api.github.com/users/liesislukas/repos","events_url":"https://api.github.com/users/liesislukas/events{/privacy}","received_events_url":"https://api.github.com/users/liesislukas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-12-07T13:57:20Z","updated_at":"2015-12-07T20:25:49Z","closed_at":"2015-12-07T18:31:23Z","body":"WebkitInputPlaceholder seems not to work. If i add simple css: \r\n\r\n```\r\n::-webkit-input-placeholder {\r\n   color: red;\r\n}\r\n```\r\n\r\nit works fine, but\r\n\r\n```\r\nWebkitInputPlaceholder: 'red',\r\n```\r\nnot doing it's job. Anyone has same issue? It's not very popular CSS attribute, but i need to have it for customization options.\r\n\r\n\r\nBTW, don't you think, that react could have cross-browser support for those prefixed css stuff and remove WebkitInput, Moz and ms prefix all together. React let's not to think about DOM too much, but still i have to think about browser prefixes \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/162650195","html_url":"https://github.com/facebook/react/issues/5619#issuecomment-162650195","issue_url":"https://api.github.com/repos/facebook/react/issues/5619","id":162650195,"user":{"login":"liesislukas","id":2733862,"avatar_url":"https://avatars.githubusercontent.com/u/2733862?v=3","gravatar_id":"","url":"https://api.github.com/users/liesislukas","html_url":"https://github.com/liesislukas","followers_url":"https://api.github.com/users/liesislukas/followers","following_url":"https://api.github.com/users/liesislukas/following{/other_user}","gists_url":"https://api.github.com/users/liesislukas/gists{/gist_id}","starred_url":"https://api.github.com/users/liesislukas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liesislukas/subscriptions","organizations_url":"https://api.github.com/users/liesislukas/orgs","repos_url":"https://api.github.com/users/liesislukas/repos","events_url":"https://api.github.com/users/liesislukas/events{/privacy}","received_events_url":"https://api.github.com/users/liesislukas/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T20:25:49Z","updated_at":"2015-12-07T20:25:49Z","body":"I've already implemented this pseudo element behaviour with state and props. I've used onFocus, onBlur, onChange events, keeping in state if value is here, keeping in props placeholder & value values. Code is not big, only few lines of js here and there. I believe it is possible to implement such thing to React itself and give prop \"placeholderColor\" or similar for community. It would work cross-browser and also same strategy could be used for React Native. "}}