Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Textinput not properly handling padding and paddingVertical in …
…style props (#33564) Summary: Fixes #33562 #21720. Earlier this [`paddingTop`](https://github.com/facebook/react-native/blob/d5da70e17e8c8210cd79a4d7b09c6a5ded4b5607/Libraries/Components/TextInput/TextInput.js#L1367) used to override the `paddingTop` of `padding` and `paddingVertical` of the style props. Using `Stylesheet.flatten` will solve this problem. ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://github.com/facebook/react-native/wiki/Changelog --> [iOS] [Fixed] - Fixed paddingTop not being applied when using padding and paddingVertical in multiline textinput Pull Request resolved: #33564 Reviewed By: christophpurrer, cortinico Differential Revision: D36018667 Pulled By: kacieb fbshipit-source-id: 0af0ed8ea536ec4e813325b1cf93c7cb2481eb07
- Loading branch information