Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix TextInput placeholder font when using custom fonts. Fixes #4600
Summary: When using a TextInput with a custom font, the placeholder didn't use that font. This is because ReactTextInputManager didn't use ReactFontManager to create the TypeFace which handles custom fonts. **Test plan** Tested in UI explorer by reproducing the bug with and testing that the custom font gets applied properly after the fix. ``` js <TextInput placeholder="Hello" style={{ fontFamily: 'notoserif' }} /> ``` Closes #12000 Reviewed By: hramos Differential Revision: D4443713 fbshipit-source-id: e92c9822d9226681d7b00126dad95e5534c0c46e
- Loading branch information