mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: This fixes some inaccuracies in our reporting of textinput's contentsize. First, we were not using the correct padding info. Then, we are converting the contentSize width and height to ints right before sending them over to JS. This adds some inaccuracy with the textinput behaviour, especially in the case of auto expending text inputs, since those same sizes are then sent right back. Reviewed By: astreet Differential Revision: D3806008 fbshipit-source-id: 7e32f91fde50099fd8a122833fd0042683e68df1