mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
2fb107c9a6
Summary: Fixes https://github.com/facebook/react-native/issues/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: https://github.com/facebook/react-native/pull/33564 Reviewed By: christophpurrer, cortinico Differential Revision: D36018667 Pulled By: kacieb fbshipit-source-id: 0af0ed8ea536ec4e813325b1cf93c7cb2481eb07