mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-30 17:33:21 +08:00
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:
committed by
Facebook Github Bot 4
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);
|
||||
|
||||
Reference in New Issue
Block a user