Currently, in D5539, we introduce GestureTouchableOpacity in order to block the tooltip from appearing when we want to reveal the spoiler. There are several problems with this approach:
- Pressing a spoiler once it is already revealed still prevents the tooltip from appearing.
- More importantly, the styling is completely different to what is within the text message. The text size, color, and also the y-axis of the text is all unexpected (Context: https://linear.app/comm/issue/ENG-2272/gesturetouchableopacity-changing-styles).
Based on some experimenting, this allows us to have the two desired behaviors - the spoiler is revealed without showing the tooltip, and the styling once revealed is consistent.
I plan to resolve the need for the eslint ignore comment before landing, but I'm putting this diff up to allow for reviewers to repro locally to test, and also to figure out the reason for these changes fixing things. Speaking with @atul briefly, we think it may be some dependency handling fault from our end.
Depends on D5541