Fix onPress for TextView containing just RawText

Summary: This diff enables the onPress event for TextViews that render RawText

Reviewed By: shergin

Differential Revision: D10222183

fbshipit-source-id: 4b6a6ad548286453f7dd3a14a5e4ee453a55b923
This commit is contained in:
David Vacca authored and Facebook Github Bot committed 2018-10-09 16:47:28 -07:00
1 parent 74a00beeb7
commit 397573ffed
2 files changed
+7 -6

No files matched your search

@@ -143,9 +143,7 @@ public class TextLayoutManager {
new CustomTextTransformSpan(textAttributes.mTextTransform)));
}
//TODO: add react tag as part of the fragments, react tag is used on Touch events
int reactTag = 1;
int reactTag = fragment.getInt("reactTag");
ops.add(new SetSpanOperation(start, end, new ReactTagSpan(reactTag)));
}
}