Repository navigation
Commit d114576
committed
fix(mobile): Android chip taps open the chip from either half
A chip is one replacement span, so a tap on its right half reported the offset at
its end and moved the cursor instead of opening the chip. The tap now also checks
the chip's horizontal bounds.1 parent e6d4256 commit d114576
1 file changed
Lines changed: 16 additions & 1 deletion
File tree
- apps/mobile/modules/t3-composer-editor/android/src/main/java/expo/modules/t3composereditor
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
453 | 468 | | |
454 | 469 | | |
455 | 470 | | |
| |||
0 commit comments