Fixed small bag in computing contentSize of TextInput
Reviewed By: AaaChiuuu Differential Revision: D5091491 fbshipit-source-id: ece8ac30b930aafc32a7994057d305025e4b032e
This commit is contained in:
parent
3f176008e8
commit
f085d2bac0
|
@ -695,7 +695,7 @@ public class ReactTextInputManager extends BaseViewManager<ReactEditText, Layout
|
|||
contentWidth = mEditText.getCompoundPaddingLeft() + mEditText.getLayout().getWidth() +
|
||||
mEditText.getCompoundPaddingRight();
|
||||
contentHeight = mEditText.getCompoundPaddingTop() + mEditText.getLayout().getHeight() +
|
||||
mEditText.getCompoundPaddingTop();
|
||||
mEditText.getCompoundPaddingBottom();
|
||||
}
|
||||
|
||||
// The event that contains the event counter and updates it must be sent first.
|
||||
|
|
Loading…
Reference in New Issue