Revert the suspicious text input change for now
Reviewed By: nickholub Differential Revision: D3213682 fb-gh-sync-id: 5b3090864c4c50f307de22493c9a7a8cb4687621 fbshipit-source-id: 5b3090864c4c50f307de22493c9a7a8cb4687621
This commit is contained in:
parent
8aa82d3b33
commit
862136a398
|
@ -143,7 +143,6 @@ public class ReactTextView extends TextView implements ReactCompoundView {
|
|||
@Override
|
||||
public void onAttachedToWindow() {
|
||||
super.onAttachedToWindow();
|
||||
setTextIsSelectable(mTextIsSelectable);
|
||||
if (mContainsImages && getText() instanceof Spanned) {
|
||||
Spanned text = (Spanned) getText();
|
||||
TextInlineImageSpan[] spans = text.getSpans(0, text.length(), TextInlineImageSpan.class);
|
||||
|
|
|
@ -396,7 +396,6 @@ public class ReactEditText extends EditText {
|
|||
@Override
|
||||
public void onAttachedToWindow() {
|
||||
super.onAttachedToWindow();
|
||||
setTextIsSelectable(mTextIsSelectable);
|
||||
if (mContainsImages && getText() instanceof Spanned) {
|
||||
Spanned text = (Spanned) getText();
|
||||
TextInlineImageSpan[] spans = text.getSpans(0, text.length(), TextInlineImageSpan.class);
|
||||
|
|
Loading…
Reference in New Issue