mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-04 09:27:53 +08:00
Summary: On Android, placeholder of TextInput is not completely visible. TextInput had some default fixed width. On iOS it is perfectly visible. This commit makes it consistent on both the platforms. Before: https://user-images.githubusercontent.com/39303760/43045649-54cb45e8-8dda-11e8-9935-059ad8ee9def.png After: https://user-images.githubusercontent.com/39303760/43045650-54fb9428-8dda-11e8-88b8-176839d6c0a7.png Testing code:a0a6fbb491/App.jsClone code froma0a6fbb491/App.jsand test on Android with and without this commit. Before: https://user-images.githubusercontent.com/39303760/43045649-54cb45e8-8dda-11e8-9935-059ad8ee9def.png After: https://user-images.githubusercontent.com/39303760/43045650-54fb9428-8dda-11e8-88b8-176839d6c0a7.png [ANDROID] [BUGFIX] [TextInput] - Fix placeholder is not completely visible on Android. Pull Request resolved: https://github.com/facebook/react-native/pull/20337 Differential Revision: D8950051 Pulled By: mdvacca fbshipit-source-id: a583a48c90ecd55d8dd8c6f4eef829608b2a6079