Commit 44901aa
Fix Double Fire of Pressable Text (#55606)
Summary:
Pull Request resolved: #55606
D86657563, which enabled `link` role by default in JS for pressable text, exposed a bug in Facsimile, where we see hit testing, both against ClickableSpan, and normal React Tag based hit testing. We want the clickable spans for a11y/keyboarding, and can have non RN ClickableSpan that don't hit test via normal react mechanism.
Don't remember how we tricked ReactTextView to not run into this. joevilches might.
Changelog: [Internal]
Reviewed By: cortinico
Differential Revision: D93589114
fbshipit-source-id: ffb2c2bf2d5ffce10b7c805be550982efc2777031 parent 93a765b commit 44901aa
1 file changed
Lines changed: 7 additions & 1 deletion
File tree
- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/text
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
204 | 205 | | |
205 | 206 | | |
206 | 207 | | |
207 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
208 | 214 | | |
209 | 215 | | |
210 | 216 | | |
| |||
0 commit comments